downgrade to lower min python version

This commit is contained in:
Julian Daube 2020-04-16 12:24:39 +02:00
parent c836bdee49
commit f5bdd8c43d

View File

@ -21,7 +21,7 @@ def main():
# process all netlists # process all netlists
for file in args.files: for file in args.files:
location = Path(file.name) location = Path(file.name)
print(f"parsing {file.name}") print("parsing {}".format(file.name))
content = file.read() content = file.read()
@ -62,7 +62,7 @@ def main():
# do dryrun if it is wanted # do dryrun if it is wanted
if args.d: if args.d:
for file in files: for file in files:
print(f"copy {file} -> {files[file]}") print("copy {} -> {}".format(file, files[file]))
exit(0) exit(0)
@ -73,7 +73,7 @@ def main():
dst = Path(files[file]) dst = Path(files[file])
if not src.exists(): if not src.exists():
print(f"src does not exist: {str(src)}") print("src does not exist: {}".format(str(src));
continue continue
# create directory # create directory