Fix syntax error in exception handling in ipa-client-automount.

rob
>From 3025faf70da09a036b6a16589bd3bb3418bfd9cd Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Mon, 24 Sep 2012 10:53:09 -0400
Subject: [PATCH] Fix python syntax in ipa-client-automount

https://fedorahosted.org/freeipa/ticket/3081
---
 ipa-client/ipa-install/ipa-client-automount | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount
index d04350ed844fa50e7d2f5897c7a3f9b8309f0b14..d9a63e7ee5e627fbd2ed3d14dcb0e55e5ff82843 100755
--- a/ipa-client/ipa-install/ipa-client-automount
+++ b/ipa-client/ipa-install/ipa-client-automount
@@ -433,7 +433,7 @@ def main():
         except errors.NotFound:
             sys.exit("Automount location '%s' does not exist" % options.location)
         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:
         os.remove(ccache_name)
 
-- 
1.7.11.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to