From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6BFB113888F for ; Tue, 6 Oct 2015 06:36:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B11EE0818; Tue, 6 Oct 2015 06:36:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3DE7E0818 for ; Tue, 6 Oct 2015 06:35:59 +0000 (UTC) Received: from professor-x (S010634bdfa9ecf80.vc.shawcable.net [96.49.31.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 814E53407B8 for ; Tue, 6 Oct 2015 06:35:58 +0000 (UTC) Date: Mon, 5 Oct 2015 23:35:08 -0700 From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] [PATCH] lint: fix mixed indentation to only use tabs Message-ID: <20151005233508.0f3bcbb8.dolsen@gentoo.org> In-Reply-To: <1444104724-16584-1-git-send-email-vapier@gentoo.org> References: <1444104724-16584-1-git-send-email-vapier@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 6797f4e5-50a6-4525-ab34-f2cc7d31791e X-Archives-Hash: 2897c1cff8db9fcdcba26eb343fcaab8 On Tue, 6 Oct 2015 00:12:04 -0400 Mike Frysinger wrote: > --- > catalyst/base/stagebase.py | 4 ++-- > catalyst/targets/netboot2.py | 8 ++++---- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py > index 432ad5c..a9e7848 100644 > --- a/catalyst/base/stagebase.py > +++ b/catalyst/base/stagebase.py > @@ -24,9 +24,9 @@ from catalyst.fileops import ensure_dirs, pjoin > from catalyst.base.resume import AutoResume > > if sys.version_info[0] >= 3: > - py_input = input > + py_input = input > else: > - py_input = raw_input > + py_input = raw_input > > Ah, my quick copy/paste recently to add a debug pause for Rick to help debug an issue. > class StageBase(TargetBase, ClearBase, GenBase): > diff --git a/catalyst/targets/netboot2.py > b/catalyst/targets/netboot2.py index 5de1a74..e509cf9 100644 > --- a/catalyst/targets/netboot2.py > +++ b/catalyst/targets/netboot2.py > @@ -80,10 +80,10 @@ class netboot2(StageBase): > > for x in loopy: > if "netboot2/packages/"+x+"/files" > in self.settings: > - if > type(self.settings["netboot2/packages/"+x+"/files"]) == > types.ListType: > - > myfiles.extend(self.settings["netboot2/packages/"+x+"/files"]) > - else: > - > myfiles.append(self.settings["netboot2/packages/"+x+"/files"]) > + if > type(self.settings["netboot2/packages/"+x+"/files"]) == > types.ListType: > + > myfiles.extend(self.settings["netboot2/packages/"+x+"/files"]) > + else: > + > myfiles.append(self.settings["netboot2/packages/"+x+"/files"]) > if "netboot2/extra_files" in self.settings: > if > type(self.settings["netboot2/extra_files"]) == types.ListType: good, I hadn't done much in netboot2, but I found it hard to spot those in there just now. I thought I had fixed them all otherwise. -- Brian Dolbec