wrappers.py: fix clean not rm'ing gen'd code

This commit is contained in:
F. Eugene Aumson 2020-01-15 12:14:58 -05:00 committed by Jacob Evans
parent 277fb92f9e
commit 6027d0481e
No known key found for this signature in database
GPG Key ID: 2036DA2ADDFB0842

View File

@ -117,16 +117,11 @@ class CleanCommandExtension(clean):
)
):
try:
remove(
path.join(
"src",
"zero_ex",
"contract_wrappers",
contract,
"__init__.py",
)
)
print(f"Removing {contract}...", end="")
remove(contract)
print("done")
except FileNotFoundError:
print("file not found")
pass