On systems where 'python' refers to python3, redo failed to launch. All invocations of python have been made explicitly python2 invocations. All tests pass on an Arch Linux system as of this commit.
18 lines
401 B
Python
Executable file
18 lines
401 B
Python
Executable file
#!/usr/bin/env python2
|
|
import sys, os
|
|
|
|
import vars_init
|
|
vars_init.init([])
|
|
|
|
import state
|
|
from log import err
|
|
|
|
if len(sys.argv[1:]) != 0:
|
|
err('%s: no arguments expected.\n' % sys.argv[0])
|
|
sys.exit(1)
|
|
|
|
for f in state.files():
|
|
if f.name.startswith('//'):
|
|
continue # special name, ignore
|
|
if not f.is_generated and f.read_stamp() != state.STAMP_MISSING:
|
|
print f.nicename()
|