We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ed975 commit edb651aCopy full SHA for edb651a
functions/git/update_git_repos_by_pull.py
@@ -91,7 +91,8 @@ def run_workload(path):
91
92
93
git_top_directory = r'D:\GitHub'
94
-git_repos_list = [os.path.join(git_top_directory, x) for x in os.listdir(git_top_directory)]
+git_repos_list = [os.path.join(git_top_directory, x) for x in os.listdir(git_top_directory) if
95
+ os.path.isdir(os.path.join(git_top_directory, x))]
96
97
if __name__ == '__main__':
98
pool = Pool(4) # 4 CPU cores
0 commit comments