From f3db7ee80798580c7e5a0e1f48e008bc22a8bdfc Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Sun, 22 Feb 2009 12:03:17 -0500 Subject: [PATCH] fix misspelling cleanup() -> _cleanup() Signed-off-by: Mike O'Connor --- daklib/binary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.5