Commit 31a108ae authored by Michal Čihař's avatar Michal Čihař

Avoid storing intermediate value

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6be5beed
......@@ -102,7 +102,7 @@ class XMLTagsCheck(TargetCheck):
)
if six.PY2:
text = text.encode('utf-8')
return cElementTree.fromstring(text.encode('utf-8'))
return cElementTree.fromstring(text)
......
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