From: Hollis Blanchard Subject: Re: [PATCH] [XEND] Remove hard tabs Date: Thu, 21 Sep 2006 15:28:13 -0500 Message-ID: <1158870493.11176.5.camel@diesel> References: <62b0912f0609202258k6d399871tad27827ddb9b1137@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <62b0912f0609202258k6d399871tad27827ddb9b1137@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Molle Bestefich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, 2006-09-21 at 07:58 +0200, Molle Bestefich wrote: > Hollis Blanchard: > > [XEND] Remove hard tabs. > > That's stupid, tabs are a relief to use when coding compared to spaces. That's a separate conversation. > > - 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? Hmm, that is a stupid mistake on my part... -- Hollis Blanchard IBM Linux Technology Center