summaryrefslogtreecommitdiffstats
path: root/ipa-python/ipaerror.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-12-11 17:34:15 -0500
committerRob Crittenden <rcritten@redhat.com>2007-12-11 17:34:15 -0500
commit23ffab533fde03171b023d50ba72b53d0ab8f1d7 (patch)
tree9309daef6950d83835cfb327ad13b1e0f81a6bb6 /ipa-python/ipaerror.py
parent5c217ce31a4b8c26941c86644b33b904734f61b8 (diff)
downloadfreeipa-23ffab533fde03171b023d50ba72b53d0ab8f1d7.tar.gz
freeipa-23ffab533fde03171b023d50ba72b53d0ab8f1d7.tar.xz
freeipa-23ffab533fde03171b023d50ba72b53d0ab8f1d7.zip
Make the old entry option in update_*, check for empty parameters and
fix some problems reported by pychecker.
Diffstat (limited to 'ipa-python/ipaerror.py')
-rw-r--r--ipa-python/ipaerror.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py
index e34963365..59e262018 100644
--- a/ipa-python/ipaerror.py
+++ b/ipa-python/ipaerror.py
@@ -129,14 +129,14 @@ LDAP_NO_CONFIG = gen_error_code(
"IPA configuration not found")
#
-# Input errors (sample - replace me)
+# Function input errors
#
INPUT_CATEGORY = 0x0002
-INPUT_INVALID_ERROR = gen_error_code(
+INPUT_INVALID_PARAMETER = gen_error_code(
INPUT_CATEGORY,
0x0001,
- "Illegal input")
+ "Invalid parameter(s)")
#
# Connection errors