##// END OF EJS Templates
scm: change ._get_content() to .raw_bytes attribute to file nodes to...
scm: change ._get_content() to .raw_bytes attribute to file nodes to allow getting raw bytes instead of text content of a file and added .md5 and .is_binary attributes to file nodes

File last commit:

r1:854a839a default
r501:274fedc6 default
Show More
patch-kombu-msgpack.diff
12 lines | 629 B | text/x-diff | DiffLexer
/ pkgs / patch-kombu-msgpack.diff
diff -rup kombu-1.5.1-orig/kombu/serialization.py kombu-1.5.1/kombu/serialization.py
--- kombu-1.5.1-orig/kombu/serialization.py 2016-03-09 15:11:34.000000000 +0100
+++ kombu-1.5.1/kombu/serialization.py 2016-03-09 15:19:20.000000000 +0100
@@ -318,7 +318,7 @@ def register_msgpack():
"""See http://msgpack.sourceforge.net/"""
try:
import msgpack
- registry.register('msgpack', msgpack.packs, msgpack.unpacks,
+ registry.register('msgpack', msgpack.packb, msgpack.unpackb,
content_type='application/x-msgpack',
content_encoding='binary')
except ImportError: