[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 20/23] Correct code to match documentation of Binary.check_utf8_package



Signed-off-by: Chris Lamb <lamby@debian.org>
---
 daklib/binary.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/daklib/binary.py b/daklib/binary.py
index 97e3ec0..c6ee96f 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):
-- 
1.6.3.3



Reply to: