From 84c6348811a8e9cbb9496269d7af601c92cc485b Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Wed, 5 May 2010 08:21:35 +0200 Subject: unicode encode/decode fix in reprepro filtering script --- reprepro/conf/diffsonly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reprepro/conf/diffsonly.py') 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") -- cgit v1.2.3