Notify the user when the search results have been truncated

This commit is contained in:
Rob Crittenden 2007-12-05 15:25:05 -05:00
parent 15b7dc6ff9
commit 62b8091a83
2 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,9 @@ def main():
if counter == 0:
print "No entries found for", args[1]
return 2
elif counter == -1:
print "These results are truncated."
print "Please revine your search and try again."
for ent in groups:
try:

View File

@ -90,6 +90,9 @@ def main():
if counter == 0:
print "No entries found for", args[1]
return 2
elif counter == -1:
print "These results are truncated."
print "Please revine your search and try again."
for ent in users:
attr = ent.attrList()