str conversion

This commit is contained in:
Lukasz Konopski 2015-10-21 21:57:06 +02:00
parent aec0f04f5d
commit 277da1ff93

View File

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