Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Feb 6, 2024
1 parent 833c1ac commit f7e7a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib389/lib389/cli_idm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def _get_basedn_arg(inst, args, log, msg=None):
# Check if the base DN for our command exists
command_basedn = f'{object_rdn},{basedn_arg}'
if not DSLdapObject(inst, command_basedn).exists():
errmsg = f'''The DN "{command_basedn}" does not exist.
It is required for "{command_name}" command. Please create it first.'''
errmsg = f'The DN "{command_basedn}" does not exist. \
It is required for "{command_name}" command. Please create it first.'

if args.json:
sys.stderr.write('{"desc": "%s"}\n' % errmsg)
Expand Down

0 comments on commit f7e7a94

Please sign in to comment.