Fix compatibility for Python 2
This commit is contained in:
parent
e49282f72c
commit
d622f12f69
|
@ -681,7 +681,8 @@ def _iter_rewritable_modules(package_files):
|
||||||
if new_fn:
|
if new_fn:
|
||||||
new_package_files.append(new_fn)
|
new_package_files.append(new_fn)
|
||||||
if new_package_files:
|
if new_package_files:
|
||||||
yield from _iter_rewritable_modules(new_package_files)
|
for _module in _iter_rewritable_modules(new_package_files):
|
||||||
|
yield _module
|
||||||
|
|
||||||
|
|
||||||
class Config(object):
|
class Config(object):
|
||||||
|
|
Loading…
Reference in New Issue