Commits

Robert Leftwich committed d9ac715

Handle change of name of raw_input to input under python 3

  • Participants
  • Parent commits 2462fe1
  • Branches issue_84

Comments (0)

Files changed (1)

File keyring/backends/Google.py

 import keyring.py25compat
 from keyring.backend import KeyringBackend
 
+# Fix Python 2.x.-3.x
+try: input = raw_input
+except: pass
+
 class EnvironCredential(credentials.EnvironCredential):
     """Retrieve credentials from specifically named environment variables
     """