1. fraca7
  2. Pure Python Keyring Lib

Commits

Daniel Holth  committed 6400a93

fix #97 '__builtins not iterable on pypy'

  • Participants
  • Parent commits a2c5c93
  • Branches default

Comments (0)

Files changed (1)

File keyring/py27compat.py

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