]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
yes we hate typos
authorHolger Levsen <holger@layer-acht.org>
Wed, 16 May 2012 12:15:51 +0000 (14:15 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 16 May 2012 12:15:51 +0000 (14:15 +0200)
debian_build.py

index 35959b1e927c18dc4feb9919851b906cdd2142a5..2b787b8c27698ba3ed11fbd42b24d09ddf46d2d7 100755 (executable)
@@ -427,7 +427,7 @@ if __name__ == '__main__':
          raise Exception('unhandled branch, failing.')
 
     # cleanup existing *orig.tar.gz
-    if os.os.path.isdir('../build-area/'):
+    if os.path.isdir('../build-area/'):
         files = " ".join(fnmatch.filter(os.listdir('../build-area/'),'*.orig.tar.gz'))
         cmd = [BIN_SUDO, BIN_RM, '-f', files]
         cmdobj = subprocess.Popen(