Commit 6f790c8f authored by Stefan Behnel's avatar Stefan Behnel

Py3.1 fix

parent 8d73ea74
......@@ -1950,6 +1950,8 @@ def p_opt_cname(s):
literal = p_opt_string_literal(s)
if literal:
_, cname = literal
cname = EncodedString(cname)
cname.encoding = s.source_encoding
else:
cname = None
return cname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment