commit 31f49d1c2a86be2762767e592a381df17156d39b
parent 05e71d0715b0280420747639807ab9d28b1a8f0a
Author: Kris Maglione <kris@suckless.org>
Date: Sat, 10 Jul 2010 22:35:31 -0400
[python] Fix broken patch.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alternative_wmiircs/python/pyxp/fields.py b/alternative_wmiircs/python/pyxp/fields.py
@@ -24,7 +24,7 @@ class Int(Field):
if n not in cls.encoders:
exec ('def enc(n):\n' +
' assert n == n & 0x%s, "Arithmetic overflow"\n' +
- ' return ''.join((%s,))'
+ ' return "".join((%s,))'
) % ('ff' * n,
','.join('chr((n >> %d) & 0xff)' % (i * 8)
for i in range(0, n)))