diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-10-27 02:56:21 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-10-30 19:02:56 +0100 |
commit | c7bc6eb94aa64c89467f9394554f860dc485ad94 (patch) | |
tree | c2de2f28f0195a2d4c0744f660252ebb5a568fb1 /base/server/python/pki/server/cli/nuxwdog.py | |
parent | 8b5c3cf9b37e5b3be44b777545fb1887c2fb75d2 (diff) | |
download | pki-c7bc6eb94aa64c89467f9394554f860dc485ad94.tar.gz pki-c7bc6eb94aa64c89467f9394554f860dc485ad94.tar.xz pki-c7bc6eb94aa64c89467f9394554f860dc485ad94.zip |
Added automatic Tomcat migration.
The pki-core.spec has been modified to execute pki-server migrate
when the package is installed. This way when upgrading from F22 to
F23 all PKI instances will be migrated automatically to Tomcat 8.
The pki-server migrate command has been modified such that if there
is no specific Tomcat version specified it will use the current
Tomcat version.
The top attribute in the CLI class was not functioning properly,
so it has been replaced with get_top_module() method.
The getopt() invocations in pki-server subcommands have been
replaced with gnu_getopt() to allow intermixing options and
arguments.
https://fedorahosted.org/pki/ticket/1310
Diffstat (limited to 'base/server/python/pki/server/cli/nuxwdog.py')
-rw-r--r-- | base/server/python/pki/server/cli/nuxwdog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/server/python/pki/server/cli/nuxwdog.py b/base/server/python/pki/server/cli/nuxwdog.py index dd54f5683..dbdf973b6 100644 --- a/base/server/python/pki/server/cli/nuxwdog.py +++ b/base/server/python/pki/server/cli/nuxwdog.py @@ -68,7 +68,7 @@ class NuxwdogEnableCLI(pki.cli.CLI): def execute(self, argv): try: - opts, _ = getopt.getopt(argv, 'i:v', [ + opts, _ = getopt.gnu_getopt(argv, 'i:v', [ 'verbose', 'help']) except getopt.GetoptError as e: @@ -275,7 +275,7 @@ class NuxwdogDisableCLI(pki.cli.CLI): def execute(self, argv): try: - opts, _ = getopt.getopt(argv, 'i:v', [ + opts, _ = getopt.gnu_getopt(argv, 'i:v', [ 'verbose', 'help']) except getopt.GetoptError as e: |