mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
indent fix
This commit is contained in:
parent
ff092c5ec4
commit
5574efb91e
1 changed files with 3 additions and 3 deletions
|
@ -287,10 +287,10 @@ class BackgroundModuleLoader(threading.Thread):
|
|||
while counter < 5:
|
||||
new = len(sys.modules)
|
||||
if new == last:
|
||||
counter += 1
|
||||
counter += 1
|
||||
else:
|
||||
last = new
|
||||
counter = 0
|
||||
last = new
|
||||
counter = 0
|
||||
time.sleep(0.001)
|
||||
# now import module properly
|
||||
modname = importlib.util.resolve_name(self.name, self.package)
|
||||
|
|
Loading…
Add table
Reference in a new issue