diff options
author | Simo Sorce <ssorce@redhat.com> | 2007-09-20 16:58:54 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2007-09-20 16:58:54 -0400 |
commit | fbfefe6b0e5723b79b0f9a3a96f93e9336017fd8 (patch) | |
tree | c7ef1ebd964eb6c5fc42e681c5527b514338ae60 /ipa-admintools | |
parent | b85668579ec3fc69c2ed709533f8bd8d00e0e7e9 (diff) | |
parent | 4e79c37c604f0e51dab19fc28063b3186df0c6d9 (diff) | |
download | freeipa-fbfefe6b0e5723b79b0f9a3a96f93e9336017fd8.tar.gz freeipa-fbfefe6b0e5723b79b0f9a3a96f93e9336017fd8.tar.xz freeipa-fbfefe6b0e5723b79b0f9a3a96f93e9336017fd8.zip |
Merge conflicts between rob and kevin patches
Diffstat (limited to 'ipa-admintools')
-rw-r--r-- | ipa-admintools/ipa-findgroup | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-findgroup b/ipa-admintools/ipa-findgroup index 43171e424..92b3b25b1 100644 --- a/ipa-admintools/ipa-findgroup +++ b/ipa-admintools/ipa-findgroup @@ -50,7 +50,9 @@ def main(): client = ipaclient.IPAClient() groups = client.find_groups(args[1]) - if len(groups) == 0: + counter = groups[0] + groups = groups[1:] + if counter == 0: print "No entries found for", args[1] return 0 |