Skip to content

Commit b7ed17e

Browse files
committed
one more try
1 parent 338e180 commit b7ed17e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

textile/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def generate_tag(tag, content, attributes=None):
7272
except AttributeError:
7373
# Python 2.6 doesn't have the tostringlist method, so we have to treat
7474
# it differently.
75-
attributes = dict(map(lambda k, v: (k, six.text_type(v)),
75+
attributes = dict(map(lambda (k, v): (k, six.text_type(v)),
7676
six.iteritems(attributes)))
7777
element = ElementTree.Element(tag, attrib=attributes)
7878
element_tag = ElementTree.tostring(element, encoding=enc)

0 commit comments

Comments
 (0)