updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / songbird-svn / make-buildinfo.py.patch
blobb64d589eebae0f81d9d23e7f9918df30f77840ca
1 --- make-buildinfo.py 2011-12-19 20:04:44.929313016 +0800
2 +++ make-buildinfo.py.new 2011-12-19 20:11:46.813694138 +0800
3 @@ -71,8 +71,9 @@
5 for line in open(options.inputFile, 'rb'):
6 for substKey in substitutions.keys():
7 - if line.startswith(substKey):
8 + if line.startswith(bytes(substKey,'utf8')):
9 line = substKey + '=' + substitutions[substKey] + "\n"
10 + line = line.encode('utf-8')
11 break
12 lines.append(line)