diff options
Diffstat (limited to 'labbot/config.py')
-rw-r--r-- | labbot/config.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/labbot/config.py b/labbot/config.py index 3574760..993d25a 100644 --- a/labbot/config.py +++ b/labbot/config.py @@ -42,9 +42,10 @@ class Config: # write the hardcoded config data ontop of the loaded data self.settings["GLOBAL"].update(global_data) - repo = self.settings.pop("REPO") - if repo: - self.settings["PROJECT"] = repo + try: + self.settings["PROJECT"] = self.settings.pop("REPO") + except KeyError: + pass except (IOError, ValueError): pass |