We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338e180 commit b7ed17eCopy full SHA for b7ed17e
1 file changed
textile/utils.py
@@ -72,7 +72,7 @@ def generate_tag(tag, content, attributes=None):
72
except AttributeError:
73
# Python 2.6 doesn't have the tostringlist method, so we have to treat
74
# it differently.
75
- attributes = dict(map(lambda k, v: (k, six.text_type(v)),
+ attributes = dict(map(lambda (k, v): (k, six.text_type(v)),
76
six.iteritems(attributes)))
77
element = ElementTree.Element(tag, attrib=attributes)
78
element_tag = ElementTree.tostring(element, encoding=enc)
0 commit comments