##// END OF EJS Templates
py3: fix bytes iteration
Manuel Jacob -
r45491:d96d8bbb stable
parent child Browse files
Show More
@@ -87,7 +87,7 b' def shlexer(data=None, filepath=None, wo'
87 def encodeargs(args):
87 def encodeargs(args):
88 def encodearg(s):
88 def encodearg(s):
89 lines = base64.encodestring(s)
89 lines = base64.encodestring(s)
90 lines = [l.splitlines()[0] for l in lines]
90 lines = [l.splitlines()[0] for l in pycompat.iterbytestr(lines)]
91 return b''.join(lines)
91 return b''.join(lines)
92
92
93 s = pickle.dumps(args)
93 s = pickle.dumps(args)
General Comments 0
You need to be logged in to leave comments. Login now