Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 # | |
| 3 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 7 """Transform the list of arguments to a json list""" | |
| 8 | |
| 9 import json | |
| 10 import sys | |
| 11 | |
| 12 def main(): | |
| 13 print json.dumps(sys.argv[1:]) | |
| 14 | |
| 15 if __name__ == '__main__': | |
| 16 sys.exit(main()) | |
| OLD | NEW |