Add a --debug-locks option.
Get rid of the "locked..." and "...unlocked!" messages by default, since they're not usually interesting. But add a new option to bring them back in case we end up with trouble debugging the locking stuff. (I don't really 100% trust it yet, although I haven't had a problem for a while now.)
This commit is contained in:
parent
4d47b5ec7f
commit
03a054ca79
3 changed files with 8 additions and 2 deletions
1
vars.py
1
vars.py
|
|
@ -5,6 +5,7 @@ PWD = os.environ.get('REDO_PWD', '')
|
|||
TARGET = os.environ.get('REDO_TARGET', '')
|
||||
DEPTH = os.environ.get('REDO_DEPTH', '')
|
||||
DEBUG = atoi.atoi(os.environ.get('REDO_DEBUG', ''))
|
||||
DEBUG_LOCKS = os.environ.get('REDO_DEBUG_LOCKS', '') and 1 or 0
|
||||
VERBOSE = os.environ.get('REDO_VERBOSE', '') and 1 or 0
|
||||
SHUFFLE = os.environ.get('REDO_SHUFFLE', '') and 1 or 0
|
||||
STARTDIR = os.environ['REDO_STARTDIR']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue