Don't throw exception if base dir missing #28

Merged
PeterSurda merged 1 commits from fix-missing-base into master 2022-11-16 04:52:09 +01:00
Showing only changes of commit d0ac191f52 - Show all commits

View File

@ -108,6 +108,8 @@ def list_jobs(directory=".buildbot"):
"""
results = []
files = ["Dockerfile", "build.sh", "test.sh"]
if not exists(directory):
return results
for item in listdir(directory):
print("checking directory {}".format(item))
flag = False