summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/cli.py6
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