summaryrefslogtreecommitdiffstats
path: root/ipa-admintools
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-09-20 16:58:54 -0400
committerSimo Sorce <ssorce@redhat.com>2007-09-20 16:58:54 -0400
commitfbfefe6b0e5723b79b0f9a3a96f93e9336017fd8 (patch)
treec7ef1ebd964eb6c5fc42e681c5527b514338ae60 /ipa-admintools
parentb85668579ec3fc69c2ed709533f8bd8d00e0e7e9 (diff)
parent4e79c37c604f0e51dab19fc28063b3186df0c6d9 (diff)
downloadfreeipa-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-findgroup4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-findgroup b/ipa-admintools/ipa-findgroup
index 43171e42..92b3b25b 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