From: Michael Tremer Date: Tue, 7 Apr 2009 20:26:50 +0000 (+0200) Subject: Fixed some unknown attributes in installer. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5f2fe76b7fdaac8eb2ed3d7cb28c800093635b;p=ipfire-3.x.git Fixed some unknown attributes in installer. --- diff --git a/src/pomona/partedUtils.py b/src/pomona/partedUtils.py index aa9ab4547..fd74ba024 100644 --- a/src/pomona/partedUtils.py +++ b/src/pomona/partedUtils.py @@ -941,7 +941,7 @@ class DiskSet: initAll = False if initAll and ((clearDevs is None) or (len(clearDevs) == 0) \ - or (drive in clearDevs)) and not flags.test \ + or (drive in clearDevs)) and \ and not hasProtectedPartitions(drive, self.pomona): try: disk, dev = self._labelDevice(drive) @@ -974,7 +974,7 @@ class DiskSet: recreate = 1 - if recreate == 1 and not flags.test: + if recreate == 1: try: disk, dev = self._labelDevice(drive) except: