~ubuntu-branches/ubuntu/quantal/bittornado/quantal

« back to all changes in this revision

Viewing changes to debian/patches/22_fix_makemetafile_error-handling.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Cameron Dale
  • Date: 2008-07-19 16:08:44 UTC
  • mfrom: (0.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080719160844-nnmp02ar9pri55v1
Tags: 0.3.18-7
* Refresh all the quilt patches (Closes: #485320)
* Update standards version to 3.8.0
  - Add a README.source file pointing to the quilt documentation
* medium urgency to get it into lenny

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 22_fix_makemetafile_error-handling.dpatch by Cameron Dale <camrdale@gmail.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Fix the error-handling in makemetafile to properly join a list.
 
6
 
 
7
@DPATCH@
 
8
--- bittornado.orig/BitTornado/BT1/makemetafile.py
 
9
+++ bittornado/BitTornado/BT1/makemetafile.py
 
10
@@ -140,7 +140,7 @@
 
11
         for s in l:
 
12
             r.append(uniconvert(s, e))
 
13
     except UnicodeError:
 
14
-        raise UnicodeError('bad filename: '+join(l))
 
15
+        raise UnicodeError('bad filename: '+join(*l))
 
16
     return r
 
17
 
 
18
 def uniconvert(s, e):