From: Mike O'Connor Date: Sun, 22 Feb 2009 17:03:17 +0000 (-0500) Subject: fix misspelling cleanup() -> _cleanup() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3db7ee80798580c7e5a0e1f48e008bc22a8bdfc;p=dak fix misspelling cleanup() -> _cleanup() Signed-off-by: Mike O'Connor --- diff --git a/daklib/binary.py b/daklib/binary.py index d8373754..fb1cade9 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -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 )