diff options
Diffstat (limited to 'Lib/packaging/command')
-rw-r--r-- | Lib/packaging/command/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/command/register.py b/Lib/packaging/command/register.py index 67cda80..59805f7 100644 --- a/Lib/packaging/command/register.py +++ b/Lib/packaging/command/register.py @@ -178,7 +178,7 @@ Your selection [default 1]: ''') 'will be faster.\n(the login will be stored in %s)', get_pypirc_path()) choice = 'X' - while choice.lower() not in 'yn': + while choice.lower() not in ('y', 'n'): choice = input('Save your login (y/N)?') if not choice: choice = 'n' |