Skip to content

Commit ef9cc4a

Browse files
committed
Update routines which update progress spinner
1 parent e51858f commit ef9cc4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mbed/mbed.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,6 @@ def write(self):
813813
or (lib_repo.hash and self.hash
814814
and lib_repo.hash == self.hash[0:len(lib_repo.hash)]))): # match long and short hash formats
815815
#print self.name, 'unmodified'
816-
progress()
817816
return
818817

819818
action("Updating reference \"%s\" -> \"%s\"" % (relpath(cwd_root, self.path) if cwd_root != self.path else self.name, self.fullurl))
@@ -1344,6 +1343,7 @@ def sync(recursive=True, keep_refs=False, top=True):
13441343
lib.sync()
13451344
lib.write()
13461345
repo.scm.ignore(repo, relpath(repo.path, lib.path))
1346+
progress()
13471347
else:
13481348
if not keep_refs:
13491349
action("Removing reference \"%s\" -> \"%s\"" % (lib.name, lib.fullurl))
@@ -1367,6 +1367,7 @@ def sync(recursive=True, keep_refs=False, top=True):
13671367
lib.write()
13681368
repo.scm.ignore(repo, relpath(repo.path, lib.path))
13691369
repo.scm.add(lib.lib)
1370+
progress()
13701371

13711372
repo.sync()
13721373

0 commit comments

Comments
 (0)