| Index: chrome/test/data/autofill/merge/tools/reserialize_profiles_from_query.py
|
| diff --git a/chrome/test/data/autofill/merge/tools/reserialize_profiles_from_query.py b/chrome/test/data/autofill/merge/tools/reserialize_profiles_from_query.py
|
| old mode 100644
|
| new mode 100755
|
| index 44ce711d8e9b070c6a7038cf3c1cc30e466c3fac..e57df852a42b3fdab99368bdc35f3ca43ff58646
|
| --- a/chrome/test/data/autofill/merge/tools/reserialize_profiles_from_query.py
|
| +++ b/chrome/test/data/autofill/merge/tools/reserialize_profiles_from_query.py
|
| @@ -1,3 +1,4 @@
|
| +#!/usr/bin/env python
|
| # Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| @@ -6,9 +7,9 @@ import sys
|
|
|
| from autofill_merge_common import SerializeProfiles, ColumnNameToFieldType
|
|
|
| +
|
| def main():
|
| """Serializes the output of the query 'SELECT * from autofill_profiles;'.
|
| -
|
| """
|
|
|
| COLUMNS = ['GUID', 'LABEL', 'FIRST_NAME', 'MIDDLE_NAME', 'LAST_NAME', 'EMAIL',
|
| @@ -32,7 +33,8 @@ def main():
|
| profiles.append(zip(types, values))
|
|
|
| print SerializeProfiles(profiles)
|
| + return 0
|
|
|
|
|
| if __name__ == '__main__':
|
| - main()
|
| + sys.exit(main())
|
|
|