Merge pull request #382 from konopski/master

[#381] Fixed --auth prompt on Windows
This commit is contained in:
Jakub Roztočil 2016-01-01 18:18:23 -03:00
commit 8771d759fe

View File

@ -522,7 +522,7 @@ class AuthCredentials(KeyValue):
def _getpass(self, prompt):
# To allow mocking.
return getpass.getpass(prompt)
return getpass.getpass(str(prompt))
def has_password(self):
return self.value is not None