The verify_subsystem_does_not_exist() has been modified to display
the proper error message when the subsystem to be installed already
exists.

https://fedorahosted.org/pki/ticket/2476

Pushed to master under one-liner/trivial rule.

--
Endi S. Dewata
>From f3492b3686efcf4abe573ffde461231d1e5df136 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edew...@redhat.com>
Date: Wed, 12 Oct 2016 16:52:01 +0200
Subject: [PATCH] Fixed installation error message.

The verify_subsystem_does_not_exist() has been modified to display
the proper error message when the subsystem to be installed already
exists.

https://fedorahosted.org/pki/ticket/2476
---
 base/server/python/pki/server/deployment/pkihelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py
index b6eacf1cea121ede30795289d953baf496c5a22f..25c74c6f9af4372bfc14bc4dfdfbd46a5e246cf2 100644
--- a/base/server/python/pki/server/deployment/pkihelper.py
+++ b/base/server/python/pki/server/deployment/pkihelper.py
@@ -1084,7 +1084,7 @@ class Instance:
                                      self.mdict['pki_instance_name'],
                                      extra=config.PKI_INDENTATION_LEVEL_2)
                 raise Exception(
-                    log.PKI_SUBSYSTEM_DOES_NOT_EXIST_2 % (
+                    log.PKI_SUBSYSTEM_ALREADY_EXISTS_2 % (
                         self.mdict['pki_subsystem'],
                         self.mdict['pki_instance_name']))
         except OSError as exc:
-- 
2.5.5

_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel

Reply via email to