]> err.no Git - dak/commitdiff
fix misspelling cleanup() -> _cleanup()
authorMike O'Connor <stew@vireo.org>
Sun, 22 Feb 2009 17:03:17 +0000 (12:03 -0500)
committerMike O'Connor <stew@vireo.org>
Sun, 22 Feb 2009 17:03:17 +0000 (12:03 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
daklib/binary.py

index d83737547948da97c8632bd50ea36a861871ac35..fb1cade91daa4fa4ba20e980bf62ca68d2104267 100755 (executable)
@@ -44,7 +44,7 @@ class Binary(object):
         """
         make sure we cleanup when we are garbage collected.
         """
-        self.cleanup()
+        self._cleanup()
 
     def _cleanup(self):
         """
@@ -85,7 +85,7 @@ class Binary(object):
                     reject(utils.prefix_multi_line_string(output, " [ar output:] "), "")
                 else:
                     self.tmpdir = tmpdir
-                    atexit.register( self.cleanup )
+                    atexit.register( self._cleanup )
 
             finally:
                 os.chdir( cwd )