Commit dd4fd4d0 authored by Kryštof Pilnáček's avatar Kryštof Pilnáček

fixup! Fix: absolute cimport handling

parent 8800b230
......@@ -491,7 +491,7 @@ def parse_dependencies(source_filename):
if cimport_from:
cimports.append(cimport_from)
m_after_from = dependency_after_from_regex.search(source[m.end():])
if m:
if m_after_from:
multiline, one_line = m_after_from.groups()
subimports = multiline or one_line
cimports.extend("{}.{}".format(cimport_from, s.strip())
......
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