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

Side by Side Diff: client/third_party/infra_libs/app.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 6 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
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 import argparse 5 import argparse
6 import datetime 6 import datetime
7 import logging 7 import logging
8 import os 8 import os
9 import sys 9 import sys
10 10
11 import psutil 11 import psutil
12 12
13 from infra_libs import logs 13 from infra_libs import logs
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 logging.info('Current working directory %s', os.getcwd()) 114 logging.info('Current working directory %s', os.getcwd())
115 115
116 # Run the application's main function. 116 # Run the application's main function.
117 try: 117 try:
118 status = self.main(self.opts) 118 status = self.main(self.opts)
119 except Exception: 119 except Exception:
120 logging.exception('Uncaught exception, exiting:') 120 logging.exception('Uncaught exception, exiting:')
121 status = 1 121 status = 1
122 122
123 sys.exit(status) 123 sys.exit(status)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698