Don't throw exception if base dir missing

pull/28/head
Peter Šurda 4 months ago
parent 07b4aeafe0
commit d0ac191f52
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -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

Loading…
Cancel
Save