summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-01-31 10:59:38 -0500
committerRob Crittenden <rcritten@redhat.com>2008-01-31 10:59:38 -0500
commitae5cb78ab804f289b1b0c05cc0cf219585c990ac (patch)
tree772f14501cf8b411d8512084807177668b0dd308
parent00e3a81266db9ab1f4b866f452b4316f7e437768 (diff)
downloadfreeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.tar.gz
freeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.tar.xz
freeipa-ae5cb78ab804f289b1b0c05cc0cf219585c990ac.zip
Use proper string validation routine.
Resolves 430709
-rw-r--r--ipa-admintools/ipa-addgroup2
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