Mmm, confused here. The current ufn() in duplicity looks like:
def ufn(filename): "Convert a (bytes) filename to unicode for printing" assert not isinstance(filename, unicode) return filename.decode(sys.getfilesystemencoding(), 'replace')
How does this apply to duplicity?
Mmm, confused here. The current ufn() in duplicity looks like:
def ufn(filename): filename, unicode) decode( sys.getfilesyst emencoding( ), 'replace')
"Convert a (bytes) filename to unicode for printing"
assert not isinstance(
return filename.
How does this apply to duplicity?