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

Unified Diff: appengine_apps/chromium_status/tools/set_status.py

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine_apps/chromium_status/tools/set_lkgr.py ('k') | appengine_apps/chromium_status/tools/update.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine_apps/chromium_status/tools/set_status.py
diff --git a/appengine_apps/chromium_status/tools/set_status.py b/appengine_apps/chromium_status/tools/set_status.py
deleted file mode 100755
index c7ef3181e3f66c496702eaa4108017bb10b2ee8b..0000000000000000000000000000000000000000
--- a/appengine_apps/chromium_status/tools/set_status.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import sys
-import urllib
-
-from set_lkgr import get_pwd
-
-
-def post(username, message, url='chromium-status.appspot.com'):
- if not url.startswith('https://'):
- url = 'https://' + url
- data = {
- 'message': message,
- 'username': username,
- 'password': get_pwd(),
- }
- print url
- out = urllib.urlopen(url + '/status', urllib.urlencode(data)).read()
- print out
- return 0
-
-
-if __name__ == '__main__':
- if not (3 <= len(sys.argv) <= 4):
- print('Usage: set_status.py username message [url]')
- sys.exit(1)
-
- sys.exit(post(*sys.argv[1:]))
« no previous file with comments | « appengine_apps/chromium_status/tools/set_lkgr.py ('k') | appengine_apps/chromium_status/tools/update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698