[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] [XEND] Remove hard tabs


  • To: "Hollis Blanchard" <hollisb@xxxxxxxxxx>
  • From: "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
  • Date: Thu, 21 Sep 2006 07:58:17 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 20 Sep 2006 22:58:38 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZY3m/L3KSa0oJpxo+K3UQbnRBD62JgvQuF02gSMZMWhg4SH3dXJk3Fes/d2oyTlTVKLRXgRSvJgDAXj2GIBhHJ23g2PljD4M9BkHNxdKSBhFDUKUQ5QVRuFjW32NpqySrZ5W7dLonwDG2kL8gttJ8VKmT5TRRvmRMUeIngsM/Cs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hollis Blanchard:
[XEND] Remove hard tabs.

That's stupid, tabs are a relief to use when coding compared to spaces.

-       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 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")

Seems to me like you're breaking Python indentation rules now?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.