Index: chrome/test/data/autofill/merge/tools/flatten.py |
diff --git a/chrome/test/data/autofill/merge/tools/flatten.py b/chrome/test/data/autofill/merge/tools/flatten.py |
old mode 100644 |
new mode 100755 |
index 5b3c3def52564a94bf6ac1fb6fafc63d19b8096f..720329f115283519ea7acb0289700ee39998e104 |
--- a/chrome/test/data/autofill/merge/tools/flatten.py |
+++ b/chrome/test/data/autofill/merge/tools/flatten.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,7 +7,6 @@ import sys |
def main(): |
"""Converts a vertical serialization into a compact, horizontal serialization. |
- |
""" |
COLUMNS = ['First name', 'Middle name', 'Last name', 'Email', 'Company name', |
@@ -59,7 +59,8 @@ def main(): |
profile_format = zip(column_formats, profile) |
profile = [format_.format(value) for (format_, value) in profile_format] |
print " | ".join(profile) |
+ return 0 |
if __name__ == '__main__': |
- main() |
+ sys.exit(main()) |