The problem is that we can't tell which occurrence is the separator for
a symbolic link. Fix this by adding an otherwise pointless backslash.
tm = T.gmtime(t)
return T.strftime('%Y-%m-%dT%H:%M:%SZ', tm)
def _enc_name(me, n):
tm = T.gmtime(t)
return T.strftime('%Y-%m-%dT%H:%M:%SZ', tm)
def _enc_name(me, n):
- return n.encode('string_escape')
+ return ' \\-> '.join(n.encode('string_escape').split(' -> '))
def name(me):
return me._enc_name(me.fi.name)
def info(me):
def name(me):
return me._enc_name(me.fi.name)
def info(me):