]> git.decadent.org.uk Git - dak.git/commitdiff
Correct code to match documentation of Binary.check_utf8_package
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:07:46 +0000 (14:07 +0000)
committerChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:29:58 +0000 (14:29 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/binary.py

index 97e3ec0d26bb4d8c7d930555b25c7e2e159707aa..c6ee96f86d5f1eed8b210720697e1620e2448ead 100755 (executable)
@@ -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):