[pypy-svn] r59779 - pypy/build/bot2/pypybuildbot
fijal at codespeak.net
fijal at codespeak.net
Sat Nov 8 12:40:35 CET 2008
Author: fijal
Date: Sat Nov 8 12:40:34 2008
New Revision: 59779
Modified:
pypy/build/bot2/pypybuildbot/builds.py
Log:
try not importing py
Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py (original)
+++ pypy/build/bot2/pypybuildbot/builds.py Sat Nov 8 12:40:34 2008
@@ -1,7 +1,7 @@
from buildbot.process import factory
from buildbot.steps import source, shell
from buildbot.status.builder import SUCCESS
-import os, py
+import os
class ShellCmd(shell.ShellCommand):
# our own version that can distinguish abort cases (rc == -1)
@@ -121,9 +121,9 @@
"--resultlog=cpython.log", "lib-python"],
logfiles={'pytestLog': 'cpython.log'}))
-USERNAME = py.path.local(os.environ['HOME']).basename
-SCRATCHBOX_WORKDIR = py.path.local("/scratchbox/users/%s/home/%s/build" %
- (USERNAME, USERNAME))
+USERNAME = os.environ['HOME'].split(os.sep)[-1]
+SCRATCHBOX_WORKDIR = ("/scratchbox/users/%s/home/%s/build" %
+ (USERNAME, USERNAME))
class PyPyTranslatedAppLevelTestFactory(factory.BuildFactory):
More information about the Pypy-commit
mailing list