From: Torsten Werner Date: Tue, 1 Mar 2011 21:09:17 +0000 (+0100) Subject: bugfix X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4db9c79b71600a48f5323bd75a0ef4f894f02559;p=dak.git bugfix Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index b1093eea..24f8fb17 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -519,7 +519,7 @@ class DBBinary(ORMObject): if member.isfile(): try: name = member.name.decode('utf-8') - catch UnicodeDecodeError: + except UnicodeDecodeError: name = member.name.decode('iso8859-1') yield normpath(name) tar.close()