All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [XEND] Remove hard tabs
@ 2006-09-20 19:21 Hollis Blanchard
  2006-09-21  5:58 ` Molle Bestefich
  2006-09-22 16:36 ` Alastair Tse
  0 siblings, 2 replies; 16+ messages in thread
From: Hollis Blanchard @ 2006-09-20 19:21 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Hollis Blanchard <hollisb@us.ibm.com>
# Date 1158780052 18000
# Node ID f7d90f962967a5a94fce0c04f8fcac449f36344f
# Parent  041be3f6b38e05f904d240630c18cadb1259317b
[XEND] Remove hard tabs.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>

diff -r 041be3f6b38e -r f7d90f962967 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py	Tue Sep 19 14:26:47 2006 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Sep 20 14:20:52 2006 -0500
@@ -1093,15 +1093,15 @@ class XendDomainInfo:
     ## public:
 
     def destroyDevice(self, deviceClass, devid):
-	if type(devid) is str:
-	    devicePath = '%s/device/%s' % (self.dompath, deviceClass)
-	    for entry in xstransact.List(devicePath):
-		backend = xstransact.Read('%s/%s' % (devicePath, entry), "backend")
-		devName = xstransact.Read(backend, "dev")
-		if devName == devid:
-		    # We found the integer matching our devid, use it instead
-		    devid = entry
-        	    break
+        if type(devid) is str:
+            devicePath = '%s/device/%s' % (self.dompath, deviceClass)
+            for entry in xstransact.List(devicePath):
+            backend = xstransact.Read('%s/%s' % (devicePath, entry), "backend")
+            devName = xstransact.Read(backend, "dev")
+            if devName == devid:
+                # We found the integer matching our devid, use it instead
+                devid = entry
+                break
         return self.getDeviceController(deviceClass).destroyDevice(devid)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-10-12 16:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 19:21 [PATCH] [XEND] Remove hard tabs Hollis Blanchard
2006-09-21  5:58 ` Molle Bestefich
2006-09-21 20:28   ` Hollis Blanchard
2006-09-24 10:50     ` Molle Bestefich
2006-09-25 16:38       ` Hollis Blanchard
2006-09-26 15:34         ` Anthony Liguori
2006-09-25 17:07       ` Sean Dague
2006-09-27 14:07         ` Steven Rostedt
2006-09-27 21:43           ` RFC - PV blk driver for hvm guest Ross Maxfield
2006-09-27 22:26             ` Dom0 hang problem Subrahmanian, Raj
2006-09-27 22:44               ` Ian Pratt
2006-10-01 17:42             ` RFC - PV blk driver for hvm guest Steven Smith
     [not found]               ` <45223DA0.DD28.00D3.0@novell.com>
2006-10-07  9:53                 ` Steven Smith
2006-09-22  2:36   ` [PATCH] [XEND] Remove hard tabs Dan Smith
2006-10-12 16:33   ` Mark Williamson
2006-09-22 16:36 ` Alastair Tse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.