From 63b55307e50b770bd24fa0a2c19926d3660dc98b Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 17 Feb 2010 10:32:23 -0500 Subject: Reverse patch to not encode int values, handled at OID level properly now. --- ipalib/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ipalib/cli.py') 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 -- cgit