From fb55051b324f5ef9f7efd980ab139a4b08f32631 Mon Sep 17 00:00:00 2001 From: BJ Dierkes Date: Tue, 21 May 2013 20:27:05 -0500 Subject: [PATCH] Cleanup 2to3 changes --- scripts/devtools.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/devtools.py b/scripts/devtools.py index cd1b49c1..2fd235a3 100755 --- a/scripts/devtools.py +++ b/scripts/devtools.py @@ -89,8 +89,8 @@ class CementDevtoolsController(CementBaseController): @expose(help='run all unit tests') def run_tests(self): print('') - print(("Running Tests for Cement Version %s" % VERSION)) - print(('-' * 77)) + print("Running Tests for Cement Version %s" % VERSION) + print('-' * 77) self._do_pep8() self._do_tests() print('') @@ -107,15 +107,15 @@ class CementDevtoolsController(CementBaseController): @expose(help='create a cement release') def make_release(self): print('') - print(("Making Release for Version %s" % VERSION)) - print(('-' * 77)) + print("Making Release for Version %s" % VERSION) + print('-' * 77) if not self.app.pargs.noprompt: - res = eval(input("Continue? [yN] ")) + res = raw_input("Continue? [yN] ") if res not in ['Y', 'y', '1']: sys.exit(1) tmp = tempfile.mkdtemp() - print(("Destination: %s" % tmp)) + print("Destination: %s" % tmp) os.makedirs(os.path.join(tmp, 'source')) os.makedirs(os.path.join(tmp, 'doc')) @@ -157,7 +157,7 @@ def main(): app.setup() app.run() except AssertionError as e: - print(("AssertionError => %s" % e.args[0])) + print("AssertionError => %s" % e.args[0]) finally: app.close()