changeset 10704 | 73367a56ee41 |
parent 10702 | f94c812c3669 |
child 10714 | 8a2ec43fcf44 |
--- a/devtools/fill.py Thu Sep 17 12:02:40 2015 +0200 +++ b/devtools/fill.py Tue Sep 22 14:47:04 2015 +0200 @@ -177,7 +177,7 @@ generate_tztime = generate_time # XXX implementation should add a timezone def generate_bytes(self, entity, attrname, index, format=None): - fakefile = Binary("%s%s" % (attrname, index)) + fakefile = Binary(("%s%s" % (attrname, index)).encode('ascii')) fakefile.filename = u"file_%s" % attrname return fakefile