From: Chris Lamb Date: Fri, 30 Oct 2009 14:07:46 +0000 (+0000) Subject: Correct code to match documentation of Binary.check_utf8_package X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=0484ab1553e552c3e2192b17b2a7e516c8a11a93 Correct code to match documentation of Binary.check_utf8_package Signed-off-by: Chris Lamb --- diff --git a/daklib/binary.py b/daklib/binary.py index 97e3ec0d..c6ee96f8 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -248,12 +248,16 @@ class Binary(object): except: print >> sys.stderr, "E: %s has non-unicode filename: %s" % (package,tarinfo.name) + result = True + except: traceback.print_exc() result = False os.chdir(cwd) + return result + __all__.append('Binary') def copy_temporary_contents(package, version, archname, deb, reject, session=None):