Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sth2018 committed Aug 14, 2018
1 parent fd3dbf7 commit f54ca33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/fastwq/utils/importlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _resolve_name(name, package, level):
if not hasattr(package, 'rindex'):
raise ValueError("'package' not set to a string")
dot = len(package)
for x in range(level, 1, -1):
for x in xrange(level, 1, -1):
try:
dot = package.rindex('.', 0, dot)
except ValueError:
Expand Down

0 comments on commit f54ca33

Please sign in to comment.