Tiny, urgent fix for rebaseline_server to accept new baselines.

(SkipBuildbotRuns)
R=jcgregorio@google.com
TBR=jcgregorio
NOTREECHECKS=True
NOTRY=True
BUG=

Author: epoger@google.com

Review URL: https://codereview.chromium.org/99763007

git-svn-id: http://skia.googlecode.com/svn/trunk@12628 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2013-12-11 20:19:42 +00:00
parent c4558353a7
commit 7dd5d6e5d7

View File

@ -238,7 +238,7 @@ class Results(object):
if builder.endswith('-Trybot'):
continue
per_builder_dict = meta_dict.get(builder)
if per_builder_dict:
if per_builder_dict is not None:
fullpath = os.path.join(dirpath, matching_filename)
gm_json.WriteToFile(per_builder_dict, fullpath)
actual_builders_written.append(builder)