Avoid @staticmethod to allow use with Python 2.3.

llvm-svn: 74737
This commit is contained in:
Daniel Dunbar 2009-07-02 23:56:37 +00:00
parent 8ecd7eb3f7
commit 22da185ed8
1 changed files with 3 additions and 2 deletions

View File

@ -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: