Repository : http://git.fedorahosted.org/cgit/kernel-tests.git On branch : master >--------------------------------------------------------------- commit e49d387fb1e905d5f102452d968ae79d5adef3bf Author: Craig Rodrigues <rodrigc@xxxxxxxxxxx> Date: Sat Nov 14 16:52:46 2015 -0800 Fix exception handling syntax. [PEP-3110] Use new exception handling syntax as specified here: https://www.python.org/dev/peps/pep-3110/ >--------------------------------------------------------------- .../libhugetlbfs/libhugetlbfs/tests/run_tests.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/default/libhugetlbfs/libhugetlbfs/tests/run_tests.py b/default/libhugetlbfs/libhugetlbfs/tests/run_tests.py index e84e29d..56bf5c0 100755 --- a/default/libhugetlbfs/libhugetlbfs/tests/run_tests.py +++ b/default/libhugetlbfs/libhugetlbfs/tests/run_tests.py @@ -656,7 +656,7 @@ def main(): try: opts, args = getopt.getopt(sys.argv[1:], "vVfdt:b:p:c") - except getopt.GetoptError, err: + except getopt.GetoptError as err: print(str(err)) sys.exit(1) for opt, arg in opts: _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx