Move into the 21st century by fixing some pylint warnings.
This commit is contained in:
parent
1966a0fac7
commit
e1327540fb
22 changed files with 797 additions and 388 deletions
27
redo-ood.py
27
redo-ood.py
|
|
@ -27,14 +27,19 @@ def log_override(name):
|
|||
pass
|
||||
|
||||
|
||||
cwd = os.getcwd()
|
||||
for f in state.files():
|
||||
if f.is_target():
|
||||
if deps.isdirty(f,
|
||||
depth='',
|
||||
max_changed=vars.RUNID,
|
||||
already_checked=[],
|
||||
is_checked=is_checked,
|
||||
set_checked=set_checked,
|
||||
log_override=log_override):
|
||||
print state.relpath(os.path.join(vars.BASE, f.name), cwd)
|
||||
def main():
|
||||
cwd = os.getcwd()
|
||||
for f in state.files():
|
||||
if f.is_target():
|
||||
if deps.isdirty(f,
|
||||
depth='',
|
||||
max_changed=vars.RUNID,
|
||||
already_checked=[],
|
||||
is_checked=is_checked,
|
||||
set_checked=set_checked,
|
||||
log_override=log_override):
|
||||
print state.relpath(os.path.join(vars.BASE, f.name), cwd)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue