projects
/
profile
/
ivi
/
python.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start packaging the bz2 python module as it is needed for building Qt5
[profile/ivi/python.git]
/
Lib
/
xdrlib.py
diff --git
a/Lib/xdrlib.py
b/Lib/xdrlib.py
index
796dfaf
..
ef172dd
100644
(file)
--- a/
Lib/xdrlib.py
+++ b/
Lib/xdrlib.py
@@
-53,7
+53,9
@@
class Packer:
def pack_uint(self, x):
self.__buf.write(struct.pack('>L', x))
- pack_int = pack_uint
+ def pack_int(self, x):
+ self.__buf.write(struct.pack('>l', x))
+
pack_enum = pack_int
def pack_bool(self, x):