From 4db9c79b71600a48f5323bd75a0ef4f894f02559 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Tue, 1 Mar 2011 22:09:17 +0100 Subject: [PATCH] bugfix Signed-off-by: Torsten Werner --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5