Fix formatting.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 00:05:25 +0000 (01:05 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 00:05:25 +0000 (01:05 +0100)
buildfarm/data.py

index 90345f87fb8e781b99f74c1fcaac1d756cc14d12..5ae1286a69bedc7b2f46f798dfedde19325ef00b 100644 (file)
@@ -92,11 +92,13 @@ class BuildStatus(object):
         """Check if this build has regressed since another build."""
         if "disk full" in self.other_failures:
             return False
-        if "timeout" in self.other_failures and "timeout" in older.other_failures:
-            # When the timeout happens exactly can differ slightly, so it's okay
-            # if the numbers are a bit different..
+        if ("timeout" in self.other_failures and
+            "timeout" in older.other_failures):
+            # When the timeout happens exactly can differ slightly, so it's
+            # okay if the numbers are a bit different..
             return False
-        if "panic" in self.other_failures and not "panic" in older.other_failures:
+        if ("panic" in self.other_failures and
+            not "panic" in older.other_failures):
             return True
         if len(self.stages) < len(older.stages):
             # Less stages completed