Created
May 10, 2013 16:02
-
-
Save mkutsevol/5555382 to your computer and use it in GitHub Desktop.
patch for py-amqp under python3 not to add bytes to str
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/amqp/transport.py b/amqp/transport.py | |
index 8092c5f..e9ee76a 100644 | |
--- a/amqp/transport.py | |
+++ b/amqp/transport.py | |
@@ -191,7 +191,7 @@ | |
as you're asking for, at least with extremely large messages. | |
somewhere > 16K - found this in the test_channel.py test_large | |
unittest.""" | |
- result = '' | |
+ result = b'' | |
while len(result) < n: | |
try: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment