~aasg/nixexprs

880638840c289a9d561d636725e68b924bc4726c — Aluísio Augusto Silva Gonçalves 9 days ago c7c1e75
bird-lg: Fix import in config loader script
1 files changed, 1 insertions(+), 1 deletions(-)

M modules/services/networking/monitoring/bird-lg-config.py
M modules/services/networking/monitoring/bird-lg-config.py => modules/services/networking/monitoring/bird-lg-config.py +1 -1
@@ 2,6 2,7 @@
# global namespace.
def _config_loader_main():
    """ Loads bird-lg and gunicorn config files. """
    import os

    def log_to_syslog():
        """ Configures the logging module to log everything to syslog. """


@@ 27,7 28,6 @@ def _config_loader_main():
    def load_config_files():
        """ Loads JSON config files specified in the BIRD_LG_CONFIG_FILES environment variable. """
        import json
        import os

        for filename in os.environ["BIRD_LG_CONFIG_FILES"].split(os.pathsep):
            with open(filename, "r") as file: