initial commit
This commit is contained in:
parent
2a9182402f
commit
74243cd45e
@ -14,6 +14,8 @@ with open(spec_file,"r") as f:
|
|||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
s = line.strip()
|
s = line.strip()
|
||||||
|
if s.startswith("#"):
|
||||||
|
continue
|
||||||
fullpath = os.path.join(path, s)
|
fullpath = os.path.join(path, s)
|
||||||
if os.path.isdir(fullpath) and ("docker-compose.yml" in os.listdir(fullpath)):
|
if os.path.isdir(fullpath) and ("docker-compose.yml" in os.listdir(fullpath)):
|
||||||
fullpath = os.path.join(fullpath, "docker-compose.yml")
|
fullpath = os.path.join(fullpath, "docker-compose.yml")
|
||||||
|
Loading…
Reference in New Issue
Block a user