Bug 742191 - Part 0: Fix the editing/ special case in parseFailures.py to actually work; r=Aryeh
authorMs2ger <ms2ger@gmail.com>
Sun, 14 Oct 2012 09:46:46 +0200
changeset 110312 02053bbdc0327518104f39e14843e73f48ae2f5a
parent 110311 b740202ee0b8bcc989b7c538797b66c9b075bfe7
child 110313 44b49b003b98f629097dbc7222d0618a4d55a2d7
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersAryeh
bugs742191
milestone19.0a1
Bug 742191 - Part 0: Fix the editing/ special case in parseFailures.py to actually work; r=Aryeh
dom/imptests/parseFailures.py
--- a/dom/imptests/parseFailures.py
+++ b/dom/imptests/parseFailures.py
@@ -28,17 +28,17 @@ def ensuredir(path):
 
 def dumpFailures(lines):
     files = []
     for url, objstr in lines:
         if objstr == '{}\n':
             continue
 
         # Avoid overly large diffs.
-        if '/editing/' in url:
+        if 'editing/' in url:
             sep = ':'
         else:
             sep = ': '
 
         jsonpath = 'failures/' + url + '.json'
         files.append(jsonpath)
         ensuredir(jsonpath)
         obj = json.loads(objstr, object_pairs_hook=collections.OrderedDict)