equal
deleted
inserted
replaced
170 if l: |
170 if l: |
171 return map(bin, l.split(sep)) |
171 return map(bin, l.split(sep)) |
172 return [] |
172 return [] |
173 |
173 |
174 def encodelist(l, sep=' '): |
174 def encodelist(l, sep=' '): |
175 return sep.join(map(hex, l)) |
175 try: |
|
176 return sep.join(map(hex, l)) |
|
177 except TypeError: |
|
178 print l |
|
179 raise |
176 |
180 |
177 # batched call argument encoding |
181 # batched call argument encoding |
178 |
182 |
179 def escapearg(plain): |
183 def escapearg(plain): |
180 return (plain |
184 return (plain |