changeset: 2764:71e85fc15f46
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat Jul 10 22:35:31 2010 -0400
files: alternative_wmiircs/python/pyxp/fields.py
description:
[python] Fix broken patch.
diff -r 8b3db4c0954f -r 71e85fc15f46 alternative_wmiircs/python/pyxp/fields.py
--- a/alternative_wmiircs/python/pyxp/fields.py Fri Jul 09 19:59:40 2010 -0400
+++ b/alternative_wmiircs/python/pyxp/fields.py Sat Jul 10 22:35:31 2010 -0400
@@ -24,7 +24,7 @@
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)))
Received on Sun Jul 11 2010 - 04:35:40 CEST
This archive was generated by hypermail 2.2.0 : Sun Jul 11 2010 - 04:36:04 CEST