diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-08-01 15:16:24 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-08-03 20:38:19 -0400 |
commit | 6f29ba96af5a1ef4ce2f8b9b918c5811848e58f7 (patch) | |
tree | eed7c7bb12bb1fa6a33e1de6000c43a2e20554c9 /ipaserver/install/service.py | |
parent | 11f4593a84234f2d1d3a0029ef3da06c30cf4dec (diff) | |
download | freeipa-ipa-2-0.tar.gz freeipa-ipa-2-0.tar.xz freeipa-ipa-2-0.zip |
Re-arrange CA configuration code to reduce the number of restarts.ipa-2-0
Ade Lee from the dogtag team looked at the configuration code and
determined that a number of restarts were not needed and recommended
re-arranging other code to reduce the number of restarts to one.
https://fedorahosted.org/freeipa/ticket/1555
Diffstat (limited to 'ipaserver/install/service.py')
-rw-r--r-- | ipaserver/install/service.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py index efbb2c933..62db9baf5 100644 --- a/ipaserver/install/service.py +++ b/ipaserver/install/service.py @@ -258,7 +258,10 @@ class Service(object): if est.tm_min > 0: if est.tm_min > 1: plural = 's' - self.print_msg('%s: Estimated time %d minute%s' % (message, est.tm_min, plural)) + if est.tm_sec > 0: + self.print_msg('%s: Estimated time %d minute%s %d seconds' % (message, est.tm_min, plural, est.tm_sec)) + else: + self.print_msg('%s: Estimated time %d minute%s' % (message, est.tm_min, plural)) else: if est.tm_sec > 1: plural = 's' |