Commit 3bab2354 authored by Stefan Behnel's avatar Stefan Behnel

Py2.6 fix in release branch.

parent 372bf0a7
...@@ -496,7 +496,7 @@ def parse_dependencies(source_filename): ...@@ -496,7 +496,7 @@ def parse_dependencies(source_filename):
if m_after_from: if m_after_from:
multiline, one_line = m_after_from.groups() multiline, one_line = m_after_from.groups()
subimports = multiline or one_line subimports = multiline or one_line
cimports.extend("{}.{}".format(cimport_from, s.strip()) cimports.extend("{0}.{1}".format(cimport_from, s.strip())
for s in subimports.split(',')) for s in subimports.split(','))
elif cimport_list: elif cimport_list:
......
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