blob: 4be5b23483e1ef3e7720b8f2d9eceb1c3f252fe3 [file] [log] [blame]
Edward Lemur32e3d1e2018-07-12 00:54:05 +00001#!/usr/bin/env python
2# Copyright (c) 2018 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
6import sys
7import urllib2
8
9
10APP_URL = 'https://cit-cli-metrics.appspot.com'
11
12
13def main():
14 metrics = raw_input()
15 try:
16 urllib2.urlopen(APP_URL + '/upload', metrics)
17 except urllib2.HTTPError:
18 pass
19
20 return 0
21
22
23if __name__ == '__main__':
24 sys.exit(main())