]> git.decadent.org.uk Git - dak.git/commitdiff
bugfix
authorTorsten Werner <twerner@debian.org>
Tue, 1 Mar 2011 21:09:17 +0000 (22:09 +0100)
committerTorsten Werner <twerner@debian.org>
Tue, 1 Mar 2011 21:09:17 +0000 (22:09 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index b1093eea38bd1e1cb702701c8f71b52950efc549..24f8fb17d9620f99570db40e203ac21381ec142c 100755 (executable)
@@ -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()