Move log stuff into a separate log.py.
This commit is contained in:
parent
440af04821
commit
63c596ac61
3 changed files with 42 additions and 38 deletions
14
vars.py
14
vars.py
|
|
@ -1,9 +1,9 @@
|
|||
import os
|
||||
|
||||
REDO_TARGET = os.environ.get('REDO_TARGET', '')
|
||||
REDO_DEPTH = os.environ.get('REDO_DEPTH', '')
|
||||
REDO_DEBUG = os.environ.get('REDO_DEBUG', '') and 1 or 0
|
||||
REDO_VERBOSE = os.environ.get('REDO_VERBOSE', '') and 1 or 0
|
||||
REDO_BASE = os.path.abspath(os.environ['REDO_BASE'])
|
||||
while REDO_BASE.endswith('/'):
|
||||
REDO_BASE = REDO_BASE[:-1]
|
||||
TARGET = os.environ.get('REDO_TARGET', '')
|
||||
DEPTH = os.environ.get('REDO_DEPTH', '')
|
||||
DEBUG = os.environ.get('REDO_DEBUG', '') and 1 or 0
|
||||
VERBOSE = os.environ.get('REDO_VERBOSE', '') and 1 or 0
|
||||
BASE = os.path.abspath(os.environ['REDO_BASE'])
|
||||
while BASE.endswith('/'):
|
||||
BASE = BASE[:-1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue