Commit 6e4ca4ec authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Allow unicode filenames in pithos

parent 6e6d364e
...@@ -92,14 +92,14 @@ class _command_init(object): ...@@ -92,14 +92,14 @@ class _command_init(object): = cloud or getattr(self, 'cloud', None) = cloud or getattr(self, 'cloud', None)
def write(self, s): def write(self, s):
self._out.write(u'%s' % s) self._out.write('%s' % s)
self._out.flush() self._out.flush()
def writeln(self, s=''): def writeln(self, s=''):
self.write(u'%s\n' % s) self.write('%s\n' % s)
def error(self, s=''): def error(self, s=''):
self._err.write(u'%s\n' % s) self._err.write('%s\n' % s)
self._err.flush() self._err.flush()
def print_list(self, *args, **kwargs): def print_list(self, *args, **kwargs):
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