##// END OF EJS Templates
store: eliminate unneded last assignment to n in _auxencode()...
Adrian Buehlmann -
r17573:fb8658ad default
parent child Browse files
Show More
@@ -161,8 +161,7 b' def _auxencode(path, dotencode):'
161 res[i] = n
161 res[i] = n
162 if n[-1] in '. ':
162 if n[-1] in '. ':
163 # encode last period or space ('foo...' -> 'foo..~2e')
163 # encode last period or space ('foo...' -> 'foo..~2e')
164 n = n[:-1] + "~%02x" % ord(n[-1])
164 res[i] = n[:-1] + "~%02x" % ord(n[-1])
165 res[i] = n
166 return '/'.join(res)
165 return '/'.join(res)
167
166
168 _maxstorepathlen = 120
167 _maxstorepathlen = 120
General Comments 0
You need to be logged in to leave comments. Login now