[pypy-svn] r29272 - pypy/release/0.9.x/pypy/translator/cli
hpk at codespeak.net
hpk at codespeak.net
Fri Jun 23 19:43:56 CEST 2006
Author: hpk
Date: Fri Jun 23 19:43:55 2006
New Revision: 29272
Modified:
pypy/release/0.9.x/pypy/translator/cli/sdk.py
Log:
port rev-29268 of dist (anto)
Modified: pypy/release/0.9.x/pypy/translator/cli/sdk.py
==============================================================================
--- pypy/release/0.9.x/pypy/translator/cli/sdk.py (original)
+++ pypy/release/0.9.x/pypy/translator/cli/sdk.py Fri Jun 23 19:43:55 2006
@@ -2,27 +2,27 @@
import py
class AbstractSDK(object):
- @classmethod
def _check_helper(cls, helper):
try:
py.path.local.sysfind(helper)
return helper
except py.error.ENOENT:
py.test.skip("%s is not on your path." % helper)
+ _check_helper = classmethod(_check_helper)
- @classmethod
def runtime(cls):
for item in cls.RUNTIME:
cls._check_helper(item)
return cls.RUNTIME
+ runtime = classmethod(runtime)
- @classmethod
def ilasm(cls):
return cls._check_helper(cls.ILASM)
+ ilasm = classmethod(ilasm)
- @classmethod
def csc(cls):
return cls._check_helper(cls.CSC)
+ csc = classmethod(csc)
class MicrosoftSDK(AbstractSDK):
RUNTIME = []
More information about the Pypy-commit
mailing list