summaryrefslogtreecommitdiffstats
path: root/ipa
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-22 17:03:48 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:01 -0500
commit833088955c0e6c606bc8ea96a05ddf6c3a34bc6b (patch)
treee34931d760a5341befd59a9623bf8e256af4b284 /ipa
parent24b6cb89d443384cb432f01265c45bc18d9cf2fc (diff)
downloadfreeipa-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-xipa9
1 files changed, 1 insertions, 8 deletions
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())