mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Missed adding verbose to a couple of IPAClient invocations.
443987
This commit is contained in:
@@ -90,7 +90,7 @@ def main():
|
|||||||
if not options.attributes or not options.source or not options.target:
|
if not options.attributes or not options.source or not options.target:
|
||||||
usage()
|
usage()
|
||||||
|
|
||||||
client = ipaclient.IPAClient()
|
client = ipaclient.IPAClient(verbose=options.verbose)
|
||||||
|
|
||||||
source_grp = client.find_groups(options.source)
|
source_grp = client.find_groups(options.source)
|
||||||
counter = source_grp[0]
|
counter = source_grp[0]
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ def main():
|
|||||||
if not options.attributes and not options.source and not options.target:
|
if not options.attributes and not options.source and not options.target:
|
||||||
usage()
|
usage()
|
||||||
|
|
||||||
client = ipaclient.IPAClient()
|
client = ipaclient.IPAClient(verbose=options.verbose)
|
||||||
|
|
||||||
# first do some sanity checking
|
# first do some sanity checking
|
||||||
|
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ def main():
|
|||||||
elif ((options.desc or options.addattr or options.delattr or options.setattr) and (len(args) != 2)):
|
elif ((options.desc or options.addattr or options.delattr or options.setattr) and (len(args) != 2)):
|
||||||
usage()
|
usage()
|
||||||
|
|
||||||
client = ipaclient.IPAClient()
|
client = ipaclient.IPAClient(verbose=options.verbose)
|
||||||
if options.add:
|
if options.add:
|
||||||
group = get_group(client, options, args[2])
|
group = get_group(client, options, args[2])
|
||||||
if group is None:
|
if group is None:
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ def main():
|
|||||||
|
|
||||||
username = args[1]
|
username = args[1]
|
||||||
|
|
||||||
client = ipaclient.IPAClient()
|
client = ipaclient.IPAClient(verbose=options.verbose)
|
||||||
try:
|
try:
|
||||||
attrs = ['*']
|
attrs = ['*']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user