diff options
Diffstat (limited to 'gitautodeploy/gitautodeploy.py')
-rw-r--r-- | gitautodeploy/gitautodeploy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gitautodeploy/gitautodeploy.py b/gitautodeploy/gitautodeploy.py index 7191b8c..f7008ac 100644 --- a/gitautodeploy/gitautodeploy.py +++ b/gitautodeploy/gitautodeploy.py @@ -176,6 +176,9 @@ class GitAutoDeploy(object): if 'pidfilepath' in self._config: self._config['pidfilepath'] = os.path.expanduser(self._config['pidfilepath']) + if 'repositories' not in self._config: + self._config['repositories'] = [] + for repo_config in self._config['repositories']: # Setup branch if missing |