[#381] --auth fails on windows

This commit is contained in:
Lukasz Konopski 2015-09-21 16:30:46 +02:00
parent 8eb460a6f3
commit aec0f04f5d

View File

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