projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This stuff all still sucks but this is slightly better.
[python_utils.git]
/
site_config.py
diff --git
a/site_config.py
b/site_config.py
index caaf3d8c1c49d9e3d26e5ab8efde06c8461808a7..1281661abb6ac52d9fd6384916ce617731ad34b3 100644
(file)
--- a/
site_config.py
+++ b/
site_config.py
@@
-12,15
+12,15
@@
from type.locations import Location
logger = logging.getLogger(__name__)
args = config.add_commandline_args(
logger = logging.getLogger(__name__)
args = config.add_commandline_args(
- f'({__file__})',
- 'Args related to
__file__
'
+ f'
Global Site Config
({__file__})',
+ 'Args related to
global site-specific configuration
'
)
args.add_argument(
'--site_config_override_location',
default='NONE',
const='NONE',
nargs='?',
)
args.add_argument(
'--site_config_override_location',
default='NONE',
const='NONE',
nargs='?',
- choices=
('HOUSE', 'CABIN', 'NONE')
,
+ choices=
['HOUSE', 'CABIN', 'NONE']
,
help='Where are we, HOUSE, CABIN? Overrides standard detection code.',
)
help='Where are we, HOUSE, CABIN? Overrides standard detection code.',
)