Use proper string validation routine.

Resolves 430709
This commit is contained in:
Rob Crittenden 2008-01-31 10:59:38 -05:00
parent 00e3a81266
commit ae5cb78ab8

View File

@ -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