Commits

Daniel Holth  committed 6400a93

fix #97 '__builtins not iterable on pypy'

  • Participants
  • Parent commits a2c5c93

Comments (0)

Files changed (1)

File keyring/py27compat.py

 except ImportError:
     import ConfigParser as configparser
 
-if 'raw_input' in __builtins__:
+if hasattr(__builtins__, 'raw_input'):
     input = raw_input
 else:
     input = input