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

Unified Diff: chrome/test/functional/autofill_dataset_converter.py

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix. Created 9 years, 3 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 | « chrome/test/functional/autofill.py ('k') | chrome/test/functional/autofill_dataset_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/autofill_dataset_converter.py
diff --git a/chrome/test/functional/autofill_dataset_converter.py b/chrome/test/functional/autofill_dataset_converter.py
index 01a311de0d81ab3d1a382e288c1e50866d450f55..9db7f58b58b85cf27401c25d5035b6a8cbc787a5 100644
--- a/chrome/test/functional/autofill_dataset_converter.py
+++ b/chrome/test/functional/autofill_dataset_converter.py
@@ -38,7 +38,6 @@ class DatasetConverter(object):
u'ADDRESS_HOME_ZIP',
u'ADDRESS_HOME_COUNTRY',
u'PHONE_HOME_WHOLE_NUMBER',
- u'PHONE_FAX_WHOLE_NUMBER',
]
_record_length = len(_fields)
_output_pattern = u'{'
@@ -59,16 +58,14 @@ class DatasetConverter(object):
(?P<EMAIL_ADDRESS>.*?)\|(?P<COMPANY_NAME>.*?)\|(?P<ADDRESS_HOME_LINE1>.*?)
\|(?P<ADDRESS_HOME_LINE2>.*?)\|(?P<ADDRESS_HOME_CITY>.*?)\|
(?P<ADDRESS_HOME_STATE>.*?)\|(?P<ADDRESS_HOME_ZIP>.*?)\|
- (?P<ADDRESS_HOME_COUNTRY>.*?)\|
- (?P<PHONE_HOME_WHOLE_NUMBER>.*?)\|(?P<PHONE_FAX_WHOLE_NUMBER>.*?)$'
+ (?P<ADDRESS_HOME_COUNTRY>.*?)\|(?P<PHONE_HOME_WHOLE_NUMBER>.*?)$'
Full ouput pattern:
"{u'NAME_FIRST': u'%s', u'NAME_MIDDLE': u'%s', u'NAME_LAST': u'%s',
u'EMAIL_ADDRESS': u'%s', u'COMPANY_NAME': u'%s', u'ADDRESS_HOME_LINE1':
u'%s', u'ADDRESS_HOME_LINE2': u'%s', u'ADDRESS_HOME_CITY': u'%s',
u'ADDRESS_HOME_STATE': u'%s', u'ADDRESS_HOME_ZIP': u'%s',
- u'ADDRESS_HOME_COUNTRY': u'%s', u'PHONE_HOME_WHOLE_NUMBER': u'%s',
- u'PHONE_FAX_WHOLE_NUMBER': u'%s',},"
+ u'ADDRESS_HOME_COUNTRY': u'%s', u'PHONE_HOME_WHOLE_NUMBER': u'%s',},"
Args:
input_filename: name and path of the input dataset.
« no previous file with comments | « chrome/test/functional/autofill.py ('k') | chrome/test/functional/autofill_dataset_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698