[pypy-svn] r59374 - pypy/build/bot2/pypybuildbot

fijal at codespeak.net fijal at codespeak.net
Fri Oct 24 16:46:53 CEST 2008


Author: fijal
Date: Fri Oct 24 16:46:51 2008
New Revision: 59374

Modified:
   pypy/build/bot2/pypybuildbot/builds.py
Log:
Adapt for cmd being possibly None


Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py	(original)
+++ pypy/build/bot2/pypybuildbot/builds.py	Fri Oct 24 16:46:51 2008
@@ -7,7 +7,7 @@
     # our own version that can distinguish abort cases (rc == -1)
 
     def getText(self, cmd, results):
-        if cmd.rc == -1:
+        if cmd is not None and cmd.rc == -1:
             return self.describe(True) + ['aborted']
         return shell.ShellCommand.getText(self, cmd, results)
     
@@ -127,7 +127,7 @@
 
         setup_steps(platform, self)
 
-        self.addStep(Translate(["-Omem"], []))
+        self.addStep(Translate(["--platform", "maemo", "-Omem"], []))
 
         self.addStep(ShellCmd(
             description="lib-python test",



More information about the Pypy-commit mailing list