diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-02-17 10:32:23 -0500 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-17 09:13:50 -0700 |
commit | 63b55307e50b770bd24fa0a2c19926d3660dc98b (patch) | |
tree | 283d9974f366943cb55a84581efff2fade662921 /ipalib | |
parent | c0c86232f4fb0156f180c02a3ae538df0eb31b58 (diff) | |
download | freeipa-63b55307e50b770bd24fa0a2c19926d3660dc98b.tar.gz freeipa-63b55307e50b770bd24fa0a2c19926d3660dc98b.tar.xz freeipa-63b55307e50b770bd24fa0a2c19926d3660dc98b.zip |
Reverse patch to not encode int values, handled at OID level properly now.
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/cli.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index b03af3b93..4fcd49a37 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -145,11 +145,7 @@ class textui(backend.Backend): if it is a python str type, otherwise it is a plain string. """ if type(value) is str: - try: - int(value) - return value - except ValueError: - return base64.b64encode(value) + return base64.b64encode(value) else: return value |