diff options
author | Oliver Poignant <oliver@poignant.se> | 2017-01-02 23:21:41 +0100 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2017-01-02 23:21:41 +0100 |
commit | ad78cc6ef5214c3c16db823ccc716322891e55bf (patch) | |
tree | 59bba2094aceb4afd6ee4669573774f159d967dd /gitautodeploy/cli/config.py | |
parent | 4d1d57104e2f3ab4dd4bd411a482e0f19565a433 (diff) | |
download | Git-Auto-Deploy-ad78cc6ef5214c3c16db823ccc716322891e55bf.zip Git-Auto-Deploy-ad78cc6ef5214c3c16db823ccc716322891e55bf.tar.gz Git-Auto-Deploy-ad78cc6ef5214c3c16db823ccc716322891e55bf.tar.bz2 |
Refactoring. Removal of non essential functionality
Diffstat (limited to 'gitautodeploy/cli/config.py')
-rw-r--r-- | gitautodeploy/cli/config.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gitautodeploy/cli/config.py b/gitautodeploy/cli/config.py index e302da4..f87057e 100644 --- a/gitautodeploy/cli/config.py +++ b/gitautodeploy/cli/config.py @@ -6,7 +6,6 @@ def get_config_defaults(): config['daemon-mode'] = False config['config'] = None config['ssh-keyscan'] = False - config['force'] = False config['ssl'] = False config['ssl-pem-file'] = '~/.gitautodeploy.pem' config['pidfilepath'] = '~/.gitautodeploy.pid' @@ -52,9 +51,6 @@ def get_config_from_environment(): if 'GAD_SSH_KEYSCAN' in os.environ: config['ssh-keyscan'] = True - if 'GAD_FORCE' in os.environ: - config['force'] = True - if 'GAD_SSL' in os.environ: config['ssl'] = True @@ -100,11 +96,6 @@ def get_config_from_argv(argv): dest="ssh-keyscan", action="store_true") - parser.add_argument("--force", - help="kill any process using the configured port", - dest="force", - action="store_true") - parser.add_argument("--pid-file", help="specify a custom pid file", dest="pidfilepath", |