Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7075:739b9f017d2c
issue2551243: Update schema-dump add anti-csrf headers
Also flake8 fixes and verified python2 support.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 24 Nov 2022 13:09:18 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
