diff options
author | Oliver Poignant <oliver@poignant.se> | 2017-01-03 21:18:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-03 21:18:54 +0100 |
commit | d0c3f84a9be3f9ca4b2fbf63edf5951d3be1ea65 (patch) | |
tree | 93ea57bc3064fd10d37b9b8d3db07a91b57c499a /gitautodeploy/cli/config.py | |
parent | 4d1d57104e2f3ab4dd4bd411a482e0f19565a433 (diff) | |
parent | f48093c4415c04b070886c19bdc2fcc7c12fcbd0 (diff) | |
download | Git-Auto-Deploy-d0c3f84a9be3f9ca4b2fbf63edf5951d3be1ea65.zip Git-Auto-Deploy-d0c3f84a9be3f9ca4b2fbf63edf5951d3be1ea65.tar.gz Git-Auto-Deploy-d0c3f84a9be3f9ca4b2fbf63edf5951d3be1ea65.tar.bz2 |
Merge pull request #159 from olipo186/python3
Refactoring and python 3 support
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", |