mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Notify the user when the search results have been truncated
This commit is contained in:
parent
15b7dc6ff9
commit
62b8091a83
@ -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:
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user