devtools/fill.py
branchstable
changeset 3541 63ba0a669c4f
parent 2476 1294a6bdf3bf
child 3673 9342e6783bd2
--- a/devtools/fill.py	Thu Oct 01 09:41:26 2009 +0200
+++ b/devtools/fill.py	Thu Oct 01 09:41:34 2009 +0200
@@ -173,7 +173,7 @@
     def generate_bytes(self, attrname, index, format=None):
         # modpython way
         fakefile = Binary("%s%s" % (attrname, index))
-        fakefile.filename = "file_%s" % attrname
+        fakefile.filename = u"file_%s" % attrname
         fakefile.value = fakefile.getvalue()
         return fakefile