]> git.phdru.name Git - dotfiles.git/commit
Fix(lib/python/init.py): Fix stdout for readline
authorOleg Broytman <phd@phdru.name>
Wed, 5 Jul 2017 09:31:03 +0000 (12:31 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 5 Jul 2017 09:31:03 +0000 (12:31 +0300)
commit702b527246987a7efc3d7e939d02c8b8111eccb1
tree8998d6274dfd81916a4102f21863ff3e895da6c4
parentbf2d1f18e7896f68c1455b74a96e5649bc28889e
Fix(lib/python/init.py): Fix stdout for readline

Restore stdout during raw_input().
Necessary because readline works only with bare stdout.
This fixes code.interact(), django-admin shell and all that.
lib/python/init.py