Skip to content

Commit f54ca33

Browse files
committed
Bug fixes
1 parent fd3dbf7 commit f54ca33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/fastwq/utils/importlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def _resolve_name(name, package, level):
1212
if not hasattr(package, 'rindex'):
1313
raise ValueError("'package' not set to a string")
1414
dot = len(package)
15-
for x in range(level, 1, -1):
15+
for x in xrange(level, 1, -1):
1616
try:
1717
dot = package.rindex('.', 0, dot)
1818
except ValueError:

0 commit comments

Comments
 (0)