Commit f6dda537 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Arnaud Fontaine

fixup! fixup! py2/py3: Make Products code compatible with both python2 and python3.

parent 0c9a6483
...@@ -69,7 +69,7 @@ class FileUpload(FileIO): ...@@ -69,7 +69,7 @@ class FileUpload(FileIO):
if name is None: if name is None:
name = os.path.basename(path) name = os.path.basename(path)
self.filename = name self.filename = name
file.__init__(self, path) FileIO.__init__(self, path)
self.headers = {} self.headers = {}
# dummy objects # dummy objects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment