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,9 +1,9 @@
|
|||
import sys, os
|
||||
|
||||
import vars_init
|
||||
vars_init.init([])
|
||||
import env_init
|
||||
env_init.init([])
|
||||
|
||||
import state, vars
|
||||
import state, env
|
||||
from logs import err
|
||||
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ def main():
|
|||
cwd = os.getcwd()
|
||||
for f in state.files():
|
||||
if f.is_source():
|
||||
print state.relpath(os.path.join(vars.BASE, f.name), cwd)
|
||||
print state.relpath(os.path.join(env.BASE, f.name), cwd)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue