From 833088955c0e6c606bc8ea96a05ddf6c3a34bc6b Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 22 Jan 2009 17:03:48 -0700 Subject: More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; xmlclient.forward() now handles socket error; fixed some Python 2.4 problems in lite-xmlrpc2.py --- ipa | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'ipa') diff --git a/ipa b/ipa index cab12b6ba..d06abe37a 100755 --- a/ipa +++ b/ipa @@ -30,12 +30,5 @@ from ipalib import api from ipalib.cli import CLI if __name__ == '__main__': - # If we can't explicitly determin the encoding, we assume UTF-8: - if sys.stdin.encoding is None: - encoding = 'UTF-8' - else: - encoding = sys.stdin.encoding - cli = CLI(api, - (s.decode(encoding) for s in sys.argv[1:]) - ) + cli = CLI(api, sys.argv[1:]) sys.exit(cli.run()) -- cgit