backout bde6ca1bff09 (bug 1026290) for maybe breaking robocop

This commit is contained in:
Geoff Brown 2014-11-25 23:18:14 -07:00
parent 25bf0c0acc
commit e02fed7711

View File

@ -2099,9 +2099,7 @@ class Mochitest(MochitestUtilsMixin):
if "MOZ_HIDE_RESULTS_TABLE" in os.environ and os.environ["MOZ_HIDE_RESULTS_TABLE"] == "1":
options.hideResultsTable = True
d = dict((k, v) for k, v in options.__dict__.items() if
(not k.startswith('log_') or
not any([k.endswith(fmt) for fmt in commandline.log_formatters.keys()])))
d = dict((k, v) for k, v in options.__dict__.iteritems() if not k.startswith('log'))
d['testRoot'] = self.testRoot
content = json.dumps(d)