##// END OF EJS Templates
wireproto: use listcomp instead of map()...
Augie Fackler -
r34730:6f532c1a default
parent child Browse files
Show More
@@ -153,7 +153,7 b' future = peer.future'
153 153
154 154 def decodelist(l, sep=' '):
155 155 if l:
156 return map(bin, l.split(sep))
156 return [bin(v) for v in l.split(sep)]
157 157 return []
158 158
159 159 def encodelist(l, sep=' '):
General Comments 0
You need to be logged in to leave comments. Login now