]> git.phdru.name Git - dotfiles.git/commitdiff
init.py: Remove support for Python <= 2.4
authorOleg Broytman <phd@phdru.name>
Sun, 9 Apr 2017 17:12:06 +0000 (20:12 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 9 Apr 2017 17:12:06 +0000 (20:12 +0300)
lib/python/init.py

index 9d20cd636a55c7a17bf0d9f8fcf65e44c7e7d5d2..19f02346be99db0af56f66db21fa9813bb023760 100644 (file)
@@ -263,10 +263,6 @@ def init():
 
     builtins.x = _Exit()
 
-    # In Python 2.5+ exit and quit are objects
-    if isinstance(builtins.exit, str):
-        builtins.exit = builtins.quit = x  # noqa: x is defined as _Exit
-
     # print conten of a file
 
     class _Cat: