r47158 - twistedchecker
glyph-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Tue, 5 Apr 2016 15:00:02 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: glyph
Date: Tue Apr 5 14:59:58 2016
New Revision: 47158
Modified:
branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py
Log:
twistedchecker
Modified: branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py
==============================================================================
--- branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py (original)
+++ branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py Tue Apr 5 14:59:58 2016
@@ -106,7 +106,7 @@
@rtype: L{bytes}
"""
return b'.'.join(
- ('%i' % ord(b)).encode('ascii')
+ ('%i' % (ord(b),)).encode('ascii')
for b in compat.iterbytes(bytestring)
)