commit: 481d0321fc1278e9a1a0af328c0b4cf14013ff3c
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 07:34:19 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 07:34:19 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=481d0321
catalyst: Remove some python-2 left-overs
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
catalyst/base/stagebase.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 53d39536..320e9d53 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -20,11 +20,6 @@ from catalyst.lock import LockDir, LockInUse
from catalyst.fileops import ensure_dirs, pjoin, clear_dir, clear_path
from catalyst.base.resume import AutoResume
-if sys.version_info[0] >= 3:
- py_input = input
-else:
- py_input = raw_input # pylint: disable=undefined-variable
-
class StageBase(TargetBase, ClearBase, GenBase):
"""
@@ -1697,6 +1692,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
@staticmethod
def _debug_pause_():
- py_input("press any key to continue: ")
+ input("press any key to continue: ")
# vim: ts=4 sw=4 sta et sts=4 ai