| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env python | |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 import argparse | |
| 7 import json | |
| 8 import os | |
| 9 import shutil | |
| 10 import sys | |
| 11 import time | |
| 12 import urllib | |
| 13 | |
| 14 def main(argv): | |
| 15 parser = argparse.ArgumentParser() | |
| 16 parser.add_argument('--out', required=True) | |
| 17 options = parser.parse_args(argv) | |
| 18 | |
| 19 outdir = options.out | |
| 20 | |
| 21 with open('%s/index' % outdir) as idx: | |
| 22 index = json.load(idx) | |
| 23 | |
| 24 | |
| 25 for e in index: | |
| 26 print e | |
| 27 | |
| 28 | |
| 29 | |
| 30 if __name__ == '__main__': | |
| 31 sys.exit(main(sys.argv[1:])) | |
| 32 | |
| OLD | NEW |