From 0484ab1553e552c3e2192b17b2a7e516c8a11a93 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 14:07:46 +0000 Subject: [PATCH] Correct code to match documentation of Binary.check_utf8_package Signed-off-by: Chris Lamb --- daklib/binary.py | 4 ++++ 1 file changed, 4 insertions(+) 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): -- 2.39.5