This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit e49d387fb1e905d5f102452d968ae79d5adef3bf
Author: Craig Rodrigues <rodrigc(a)FreeBSD.org>
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/
---
default/libhugetlbfs/libhugetlbfs/tests/run_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.