comparison hgext/convert/common.py @ 5143:d4fa6bafc43a

Remove trailing spaces, fix indentation
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 07 Aug 2007 10:28:43 +0200
parents 39b6eaee6fd7
children 6b4c332f241b
comparison
equal deleted inserted replaced
5142:2ffe3e2a1ac2 5143:d4fa6bafc43a
5 def encodeargs(args): 5 def encodeargs(args):
6 def encodearg(s): 6 def encodearg(s):
7 lines = base64.encodestring(s) 7 lines = base64.encodestring(s)
8 lines = [l.splitlines()[0] for l in lines] 8 lines = [l.splitlines()[0] for l in lines]
9 return ''.join(lines) 9 return ''.join(lines)
10 10
11 s = pickle.dumps(args) 11 s = pickle.dumps(args)
12 return encodearg(s) 12 return encodearg(s)
13 13
14 def decodeargs(s): 14 def decodeargs(s):
15 s = base64.decodestring(s) 15 s = base64.decodestring(s)