Fix few syntax errors.

This commit is contained in:
Martin Nagy 2008-08-06 19:17:13 +02:00
parent df2b40303f
commit fbc74a0cb4
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ def main():
if not ipautil.file_exists("/etc/ipa/ipa.conf"):
print "This system does not appear to have IPA configured."
print "Has ipa-server-install been run?"
if not ipautil.user_input("Continue with radius install?", False)
if not ipautil.user_input("Continue with radius install?", False):
sys.exit(1)
installutils.standard_logging_setup("iparadius-install.log", False)

View File

@ -146,7 +146,7 @@ def check_dirsrv():
if serverids:
print ""
print "An existing Directory Server has been detected."
if not ipautil.user_input("Do you wish to remove it and create a new one?", False)
if not ipautil.user_input("Do you wish to remove it and create a new one?", False):
print ""
print "Only a single Directory Server instance is allowed on an IPA"
print "server, the one used by IPA itself."
@ -189,7 +189,7 @@ def main():
if host != config.host_name:
try:
print "This replica was created for '%s' but this machine is named '%s'" % (host, config.host_name)
if not ipautil.user_input("This may cause problems. Continue?", True)
if not ipautil.user_input("This may cause problems. Continue?", True):
sys.exit(0)
print ""
except KeyboardInterrupt: