Skip to content

Commit

Permalink
cc: Rename variable to work around pylint false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
mthuurne committed Aug 24, 2020
1 parent 235878e commit 86dbd17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/softfab/cmdline.py
Expand Up @@ -312,9 +312,9 @@ def show(globalOptions: GlobalOptions, name: str, fmt: OutputFormat) -> None:
@user.command()
@argument('name')
@option('-r', '--role',
type=Choice([role.name.lower()
for role in UIRoleNames
if role is not UIRoleNames.INACTIVE]),
type=Choice([uiRole.name.lower()
for uiRole in UIRoleNames
if uiRole is not UIRoleNames.INACTIVE]),
default='user', show_default=True,
help="New user's role, which determines access permissions.")
@pass_obj
Expand Down

0 comments on commit 86dbd17

Please sign in to comment.