[Freeipa-devel] [patch] syntax error fix

Nalin Dahyabhai nalin at redhat.com
Wed Sep 1 14:42:41 UTC 2010


We've got a syntax error in ipapython/ipautil.py that's being caught by
the byte-compile policy in Fedora:

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ipapython/ipautil.py', 126, 5, '    * to log. Run through the nolog items.\n'))

Nalin
-------------- next part --------------
diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py
index 4d07bb6..9a3e8a6 100644
--- a/ipapython/ipautil.py
+++ b/ipapython/ipautil.py
@@ -123,7 +123,7 @@ def run(args, stdin=None, raiseonerr=True, nolog=(), env=None):
         stdout,stderr = p.communicate()
 
     # The command and its output may include passwords that we don't want
-    * to log. Run through the nolog items.
+    # to log. Run through the nolog items.
     args = ' '.join(args)
     for value in nolog:
         args = args.replace(value, 'XXXXXXXX')


More information about the Freeipa-devel mailing list