]> err.no Git - dak/commitdiff
cant delete it after i set it to null, dummy
authorMike O'Connor <stew@vireo.org>
Mon, 23 Feb 2009 05:16:49 +0000 (00:16 -0500)
committerMike O'Connor <stew@vireo.org>
Mon, 23 Feb 2009 05:16:49 +0000 (00:16 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
daklib/binary.py

index fb1cade91daa4fa4ba20e980bf62ca68d2104267..c6fc1174de60bf6a034d71a872492248f188b2c6 100755 (executable)
@@ -51,8 +51,8 @@ class Binary(object):
         we need to remove the temporary directory, if we created one
         """
         if self.tmpdir and os.path.exists(self.tmpdir):
-            self.tmpdir = None
             shutil.rmtree(self.tmpdir)
+            self.tmpdir = None
 
     def __scan_ar(self):
         # get a list of the ar contents