diff options
| author | Scott Gasch <[email protected]> | 2022-02-08 17:46:56 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-08 17:46:56 -0800 |
| commit | e8fbbb7306430478dec55d2c963eed116d8330cc (patch) | |
| tree | 28c61b43d11df95b0d70d7f12eba139e02a3942e /site_config.py | |
| parent | 0d63d44ac89aab38fe95f36497adaf95110ab949 (diff) | |
More cleanup, yey!
Diffstat (limited to 'site_config.py')
| -rw-r--r-- | site_config.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/site_config.py b/site_config.py index fcf22a8..7f6410d 100644 --- a/site_config.py +++ b/site_config.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +"""Location/site dependent data.""" + import logging import platform from dataclasses import dataclass @@ -27,6 +29,8 @@ args.add_argument( @dataclass class SiteConfig(object): + """The set of information specific to where the program is running.""" + location_name: str location: Location network: str @@ -129,7 +133,7 @@ def effective_location(location_override: Optional[str] = None) -> str: if location_override is None or location_override == 'NONE': location = this_location() else: - logger.debug(f'site_config\'s location_override was set to: {location_override}') + logger.debug('site_config\'s location_override was set to: %s', location_override) location = location_override return location |
