]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/binary.py
cant delete it after i set it to null, dummy
[dak.git] / 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