Skip to content

Commit 78534a9

Browse files
committed
wip++
1 parent 1cc3de5 commit 78534a9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mig/shared/useradm.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,15 +1036,18 @@ def upper_repl(match):
10361036
raise Exception('could not create custom css file: %s' % css_path)
10371037

10381038

1039-
def create_user(user, conf_path, db_path, force=False, verbose=False,
1039+
def create_user(user, configuration, conf_path, db_path, force=False, verbose=False,
10401040
ask_renew=True, default_renew=False, do_lock=True,
10411041
verify_peer=None, peer_expire_slack=0, from_edit_user=False,
10421042
ask_change_pw=False, auto_create_db=True, create_backup=True):
10431043
"""Add user in database and in file system. Distinguishes on the user ID
10441044
format as a first step.
10451045
"""
10461046

1047-
if conf_path:
1047+
if configuration is not None:
1048+
# ignore
1049+
pass
1050+
elif conf_path:
10481051
if isinstance(conf_path, basestring):
10491052

10501053
# has been checked for accessibility above...

0 commit comments

Comments
 (0)