summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/loadtest/TestMain.py
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/loadtest/TestMain.py')
-rw-r--r--robotframework-onap/loadtest/TestMain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/robotframework-onap/loadtest/TestMain.py b/robotframework-onap/loadtest/TestMain.py
index 81c635f..3e8eb72 100644
--- a/robotframework-onap/loadtest/TestMain.py
+++ b/robotframework-onap/loadtest/TestMain.py
@@ -66,7 +66,7 @@ def main(argv=None):
controller = TestController(opts)
controller.execute()
- except Exception, e:
+ except Exception as e:
indent = len(program_name) * " "
sys.stderr.write(program_name + ": " + repr(e) + "\n")
sys.stderr.write(indent + " for help use --help")
@@ -75,7 +75,7 @@ def main(argv=None):
if __name__ == "__main__":
if DEBUG:
- print "debug"
+ print("debug")
if TESTRUN:
import doctest
doctest.testmod()