Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: recipe_modules/python/example.resources/test.py

Issue 2875823002: Add vpython support to Python recipe module. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698