[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] cant delete it after i set it to null, dummy



Signed-off-by: Mike O'Connor <stew@vireo.org>
---
 daklib/binary.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/binary.py b/daklib/binary.py
index fb1cade..c6fc117 100755
--- a/daklib/binary.py
+++ b/daklib/binary.py
@@ -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
-- 
1.5.6.5



Reply to: