Rename vars{,_init}.py -> env{,_init}.py.
This fixes some pylint 'redefined builtins' warnings. While I was here, I fixed the others too by renaming a few local variables.
This commit is contained in:
parent
65cf1c9854
commit
ded14507b0
19 changed files with 142 additions and 142 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import sys, os
|
||||
import vars, state
|
||||
import env, state
|
||||
from logs import err
|
||||
|
||||
|
||||
def main():
|
||||
try:
|
||||
me = os.path.join(vars.STARTDIR,
|
||||
os.path.join(vars.PWD, vars.TARGET))
|
||||
me = os.path.join(env.STARTDIR,
|
||||
os.path.join(env.PWD, env.TARGET))
|
||||
f = state.File(name=me)
|
||||
for t in sys.argv[1:]:
|
||||
if not t:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue