This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository lib389.
commit 03a47457c97da79f2bce48e99051ef84d0179f26
Author: William Brown <firstyear(a)redhat.com>
Date: Wed Jun 21 13:16:36 2017 +1000
Ticket 50 - typo in db2* in dsctl
Bug Description: A typo was made that affected the addition
of the arguments to the cli.
Fix Description: Fix the typos
https://pagure.io/lib389/issue/50
Author: wibrown
Review by: one line rule
---
lib389/cli_ctl/dbtasks.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib389/cli_ctl/dbtasks.py b/lib389/cli_ctl/dbtasks.py
index f2fd53c..e41768c 100644
--- a/lib389/cli_ctl/dbtasks.py
+++ b/lib389/cli_ctl/dbtasks.py
@@ -20,11 +20,11 @@ def dbtasks_bak2db(inst, log, args):
log.info("bak2db successful")
def dbtasks_db2ldif(inst, log, args):
- inst.db2ldif(bename=args.backend, encrypt=args.encrypt, repl_data=args.replication,
outputfile=args.ldif, suffixes=None, excludeSuffixes=None)
+ inst.db2ldif(bename=args.backend, encrypt=args.encrypted, repl_data=args.replication,
outputfile=args.ldif, suffixes=None, excludeSuffixes=None)
log.info("db2ldif successful")
def dbtasks_ldif2db(inst, log, args):
- inst.ldif2db(bename=args.backend, encrypt=args.encrypt, import_file=args.ldif,
suffixes=None, excludeSuffixes=None)
+ inst.ldif2db(bename=args.backend, encrypt=args.encrypted, import_file=args.ldif,
suffixes=None, excludeSuffixes=None)
log.info("ldif2db successful")
def create_parser(subcommands):
@@ -50,7 +50,7 @@ def create_parser(subcommands):
ldif2db_parser = subcommands.add_parser('ldif2db', help="Restore an LDIF
dump of the database. The server must be stopped for this to proceed.")
ldif2db_parser.add_argument('backend', help="The backend to restore from
an LDIF. IE userRoot")
- db2ldif_parser.add_argument('ldif', help="The path to the ldif to
import")
+ ldif2db_parser.add_argument('ldif', help="The path to the ldif to
import")
ldif2db_parser.add_argument('--encrypted', help="Import encrypted
attributes", default=False, action='store_true')
ldif2db_parser.set_defaults(func=dbtasks_ldif2db)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.