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:07 -0400 |
commit | 8495af1a50faca496fe2ce425b9b3a7f21ba1ea6 (patch) | |
tree | e83ca5078296304004180e54c0845e3b7ff1e637 /ipaserver/install/service.py | |
parent | eb0454d45c68d455fff29816caf73b23eeb04dcd (diff) | |
download | freeipa-8495af1a50faca496fe2ce425b9b3a7f21ba1ea6.tar.gz freeipa-8495af1a50faca496fe2ce425b9b3a7f21ba1ea6.tar.xz freeipa-8495af1a50faca496fe2ce425b9b3a7f21ba1ea6.zip |
Re-arrange CA configuration code to reduce the number of restarts.
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' |