removed debug leftovers
This commit is contained in:
parent
e6faf92841
commit
6d83836fcb
1 changed files with 2 additions and 4 deletions
|
@ -233,8 +233,8 @@ def compile():
|
||||||
).compile()
|
).compile()
|
||||||
)
|
)
|
||||||
|
|
||||||
with open(mc_path / f"proto/{state}/{direction}/__init__.py", "a") as f, open("/home/alemi/REGISTRY", "a") as fdbg:
|
with open(mc_path / f"proto/{state}/{direction}/__init__.py", "a") as f:
|
||||||
buf = ( # TODO make this thing actually readable, maybe not using nested joins and generators
|
f.write( # TODO make this thing actually readable, maybe not using nested joins and generators
|
||||||
REGISTRY_ENTRY.format(
|
REGISTRY_ENTRY.format(
|
||||||
entries='{\n\t' + ",\n\t".join((
|
entries='{\n\t' + ",\n\t".join((
|
||||||
str(v) + " : { " + ", ".join(
|
str(v) + " : { " + ", ".join(
|
||||||
|
@ -243,8 +243,6 @@ def compile():
|
||||||
) + '\n}'
|
) + '\n}'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
f.write(buf)
|
|
||||||
fdbg.write(buf)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue