diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-01-31 10:59:38 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-01-31 10:59:38 -0500 |
commit | ae5cb78ab804f289b1b0c05cc0cf219585c990ac (patch) | |
tree | 772f14501cf8b411d8512084807177668b0dd308 | |
parent | 00e3a81266db9ab1f4b866f452b4316f7e437768 (diff) | |
download | freeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.tar.gz freeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.tar.xz freeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.zip |
Use proper string validation routine.
Resolves 430709
-rw-r--r-- | ipa-admintools/ipa-addgroup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-addgroup b/ipa-admintools/ipa-addgroup index 8169dea12..e8c89ed58 100644 --- a/ipa-admintools/ipa-addgroup +++ b/ipa-admintools/ipa-addgroup @@ -68,7 +68,7 @@ def main(): cont = True else: cn = args[1] - if (ipavalidate.ipastsring(cn, notEmpty=True)): + if (ipavalidate.String(cn, notEmpty=True)): print "Please enter a value" return 1 |