Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: components/test/data/autofill/merge/tools/autofill_merge_common.py

Issue 2110563002: Use AutofillProfileComparator in place of ad-hoc merge logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/test/data/autofill/merge/output/validation.out ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/data/autofill/merge/tools/autofill_merge_common.py
diff --git a/components/test/data/autofill/merge/tools/autofill_merge_common.py b/components/test/data/autofill/merge/tools/autofill_merge_common.py
index bdba4a8afabb932a0611b8299f05164d9778de15..30a5e99215c68adb76adf554d695bf37bef2b118 100644
--- a/components/test/data/autofill/merge/tools/autofill_merge_common.py
+++ b/components/test/data/autofill/merge/tools/autofill_merge_common.py
@@ -26,7 +26,7 @@ def SerializeProfiles(profiles):
if field_type == "ignored":
continue;
- lines.append("%s: %s" % (field_type, value))
+ lines.append("%s:%s%s" % (field_type, (' ' if value else ''), value))
return '\n'.join(lines)
« no previous file with comments | « components/test/data/autofill/merge/output/validation.out ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698