mirror of https://github.com/efabless/caravel.git
remove redundant makedirs
This commit is contained in:
parent
8540c4fcdf
commit
7dccb3aeb4
|
@ -155,11 +155,7 @@ if __name__ == "__main__":
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
# directory already exists
|
# directory already exists
|
||||||
pass
|
pass
|
||||||
try:
|
|
||||||
os.makedirs(log)
|
|
||||||
except FileExistsError:
|
|
||||||
# directory already exists
|
|
||||||
pass
|
|
||||||
try:
|
try:
|
||||||
os.makedirs(os.path.join(log,args.design))
|
os.makedirs(os.path.join(log,args.design))
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
|
|
Loading…
Reference in New Issue