[LNT] r293980 - New style exception
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 16:52:36 PST 2017
Author: cmatthews
Date: Thu Feb 2 18:52:35 2017
New Revision: 293980
URL: http://llvm.org/viewvc/llvm-project?rev=293980&view=rev
Log:
New style exception
Modified:
lnt/trunk/lnt/server/db/testsuitedb.py
Modified: lnt/trunk/lnt/server/db/testsuitedb.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuitedb.py?rev=293980&r1=293979&r2=293980&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuitedb.py (original)
+++ lnt/trunk/lnt/server/db/testsuitedb.py Thu Feb 2 18:52:35 2017
@@ -85,8 +85,8 @@ class TestSuiteDB(object):
class_dict = locals()
for item in fields:
if item.name in class_dict:
- raise ValueError,"test suite defines reserved key %r" % (
- name,)
+ raise ValueError("test suite defines reserved key %r" % (
+ name))
class_dict[item.name] = item.column = Column(
item.name, String(256))
More information about the llvm-commits
mailing list