Skip to content

Commit da2bb31

Browse files
committed
Fix line to conform to PEP 8 guidelines
1 parent 652e7d2 commit da2bb31

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

intermine/query.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,10 @@ def from_xml(cls, xml, *args, **kwargs):
426426

427427
templates = doc.getElementsByTagName('template')
428428
if len(templates) != 1:
429-
raise QueryParseError("wrong number of templates in xml. "
430-
+ "Only one <template> element is allowed. Found %d" % len(templates))
429+
raise QueryParseError(
430+
"wrong number of templates in xml. "
431+
+ "Only one <template> element is allowed. "
432+
+ "Found %d" % len(templates))
431433
t = templates[0]
432434
obj.title = t.getAttribute('title')
433435

0 commit comments

Comments
 (0)