aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/upload.py')
-rw-r--r--setuptools/command/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py
index 43c0b0d7..0e8bbea3 100644
--- a/setuptools/command/upload.py
+++ b/setuptools/command/upload.py
@@ -1,3 +1,4 @@
+import getpass
from distutils.command import upload as orig
@@ -34,7 +35,6 @@ class upload(orig.upload):
"""
password = None
try:
- import getpass
while not password:
password = getpass.getpass()
except (Exception, KeyboardInterrupt):