Fix python syntax in ipa-client-automount

https://fedorahosted.org/freeipa/ticket/3081
This commit is contained in:
Rob Crittenden 2012-09-24 10:53:09 -04:00 committed by Martin Kosek
parent 0b254e8b1e
commit 17016750f4

View File

@ -433,7 +433,7 @@ def main():
except errors.NotFound: except errors.NotFound:
sys.exit("Automount location '%s' does not exist" % options.location) sys.exit("Automount location '%s' does not exist" % options.location)
except errors.PublicError, e: except errors.PublicError, e:
sys.exit("Cannot connect to the server due to generic error: %s", str(e)) sys.exit("Cannot connect to the server due to generic error: %s" % str(e))
finally: finally:
os.remove(ccache_name) os.remove(ccache_name)