Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2017 The LUCI Authors. All rights reserved. | |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | |
| 3 # that can be found in the LICENSE file. | |
| 4 | |
| 5 import argparse | |
| 6 import os | |
| 7 import sys | |
| 8 | |
| 9 | |
| 10 def main(): | |
| 11 parser = argparse.ArgumentParser() | |
| 12 parser.add_argument('--verify', action='store_true') | |
| 13 opts = parser.parse_args() | |
| 14 | |
| 15 if opts.verify: | |
| 16 import six | |
| 17 assert six.__version__ == '1.10.0' | |
| 18 return 0 | |
| 19 | |
| 20 | |
| 21 if __name__ == '__main__': | |
| 22 sys.exit(main()) | |
| OLD | NEW |