diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-22 17:03:48 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:01 -0500 |
commit | 833088955c0e6c606bc8ea96a05ddf6c3a34bc6b (patch) | |
tree | e34931d760a5341befd59a9623bf8e256af4b284 /ipa | |
parent | 24b6cb89d443384cb432f01265c45bc18d9cf2fc (diff) | |
download | freeipa-833088955c0e6c606bc8ea96a05ddf6c3a34bc6b.tar.gz freeipa-833088955c0e6c606bc8ea96a05ddf6c3a34bc6b.tar.xz freeipa-833088955c0e6c606bc8ea96a05ddf6c3a34bc6b.zip |
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
Diffstat (limited to 'ipa')
-rwxr-xr-x | ipa | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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()) |