forked from OSchip/llvm-project
Avoid @staticmethod to allow use with Python 2.3.
llvm-svn: 74737
This commit is contained in:
parent
8ecd7eb3f7
commit
22da185ed8
|
@ -36,8 +36,9 @@ class TestStatus:
|
|||
Invalid = 5
|
||||
|
||||
kNames = ['Pass','XFail','Fail','XPass','NoRunLine','Invalid']
|
||||
@staticmethod
|
||||
def getName(code): return TestStatus.kNames[code]
|
||||
def getName(code):
|
||||
return TestStatus.kNames[code]
|
||||
getName = staticmethod(getName)
|
||||
|
||||
def mkdir_p(path):
|
||||
if not path:
|
||||
|
|
Loading…
Reference in New Issue