#! /bin/sh /usr/share/dpatch/dpatch-run ## 22_fix_makemetafile_error-handling.dpatch by Cameron Dale ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix the error-handling in makemetafile to properly join a list. @DPATCH@ --- bittornado.orig/BitTornado/BT1/makemetafile.py +++ bittornado/BitTornado/BT1/makemetafile.py @@ -140,7 +140,7 @@ for s in l: r.append(uniconvert(s, e)) except UnicodeError: - raise UnicodeError('bad filename: '+join(l)) + raise UnicodeError('bad filename: '+join(*l)) return r def uniconvert(s, e):