Browse Source

Merge 8793d86d39 into 366b7ce576

pull/41/merge
kadeem 6 years ago
committed by GitHub
parent
commit
1667d6553d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      gitup/update.py

+ 5
- 0
gitup/update.py View File

@@ -200,6 +200,11 @@ def _dispatch_multi(base, paths, callback, *args):
try: try:
Repo(path) Repo(path)
except (exc.InvalidGitRepositoryError, exc.NoSuchPathError): except (exc.InvalidGitRepositoryError, exc.NoSuchPathError):
if os.path.isdir(path):
paths = [os.path.join(path, item) for item in os.listdir(path)]
_dispatch_multi(path, paths, callback, *args)
else:
print(ERROR, BOLD + path, "isn't a repository!")
continue continue
valid.append(path) valid.append(path)




Loading…
Cancel
Save