summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-05-05 08:21:35 +0200
committerSean Finney <seanius@debian.org>2010-05-05 23:32:11 +0200
commit84c6348811a8e9cbb9496269d7af601c92cc485b (patch)
treef7f5cb1ba1ce0109ac17ba49dded7e2b63dbd2c2
parent1d7968088e6bda919b52874496691c931daab694 (diff)
downloadpatch-tracker-84c6348811a8e9cbb9496269d7af601c92cc485b.tar.gz
unicode encode/decode fix in reprepro filtering script
-rwxr-xr-xreprepro/conf/diffsonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reprepro/conf/diffsonly.py b/reprepro/conf/diffsonly.py
index d2f02ea..c49122e 100755
--- a/reprepro/conf/diffsonly.py
+++ b/reprepro/conf/diffsonly.py
@@ -39,5 +39,5 @@ if __name__ == '__main__':
if fnmatch(f['name'], wanted_glob):
newfiles.append(f)
ent[k] = newfiles
- outf.write(str(ent))
+ outf.write(unicode(ent).encode('utf-8'))
outf.write("\n")