This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.4.2
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.4.2 by this push:
new 2a2e341 Ticket 51159 - dsidm ou delete fails
2a2e341 is described below
commit 2a2e341dd1862057ff911ed53171892e69c9f29a
Author: William Brown <william(a)blackhats.net.au>
AuthorDate: Wed Jun 17 13:23:04 2020 +1000
Ticket 51159 - dsidm ou delete fails
Bug Description: delete ou would fail with a stack
trace due to incorrect variable args
Fix Description: use args.dn
https://pagure.io/389-ds-base/issue/51159
Author: William Brown <william(a)blackhats.net.au>
Review by: ???
---
src/lib389/lib389/cli_idm/organizationalunit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib389/lib389/cli_idm/organizationalunit.py
b/src/lib389/lib389/cli_idm/organizationalunit.py
index 1517b8e..d2ce82d 100644
--- a/src/lib389/lib389/cli_idm/organizationalunit.py
+++ b/src/lib389/lib389/cli_idm/organizationalunit.py
@@ -41,7 +41,7 @@ def create(inst, basedn, log, args):
_generic_create(inst, basedn, log.getChild('_generic_create'), MANY, kwargs,
args)
def delete(inst, basedn, log, args):
- dn = _get_arg( args, msg="Enter dn to delete")
+ dn = _get_arg(args.dn, msg="Enter dn to delete")
_warn(dn, msg="Deleting %s %s" % (SINGULAR.__name__, dn))
_generic_delete(inst, basedn, log.getChild('_generic_delete'), SINGULAR, dn,
args)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.