Skip to content
Snippets Groups Projects
Commit 4b2bac68 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

lol idk

parent 0cf0123b
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,6 @@ class AttacheGroup(Attache):
if not attache.cancelled:
attache.attach(connection)
else:
raise Exception
raise Exception(u'I should not have found a cancelled attache here...')
......@@ -165,7 +165,7 @@ def format_field_name(field):
return field.replace('-', '_')
def frepr(p, sop=six.text_type):
if isinstance(p, basestring):
if isinstance(p, (six.binary_type, six.text_type)):
p = sop(p)
s = repr(p)
......
# coding=UTF-8
from __future__ import absolute_import, division, print_function
"""Extension definitions"""
PUBLISHER_CONFIRMS = b'publisher_confirms'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment