Commit bc6617a1 authored by Gabriel Charette's avatar Gabriel Charette Committed by Commit Bot

[depot_tools] Turn my_activity.py into a vpython script

Downside: the script now requires "-u user@chromium.org" or it results
in "error: USER is not set, please use -u".

Bug: 904604
Change-Id: I241ad440d0cf1a495ce6f57e48ed49d9d90a49d9
Reviewed-on: https://chromium-review.googlesource.com/c/1442851Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
parent 367af22d
#!/usr/bin/env python
#!/usr/bin/env vpython
# Copyright (c) 2012 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.
......@@ -21,6 +21,17 @@ Example:
# check those details to determine if there was activity in the given period.
# This means that query time scales mostly with (today() - begin).
# [VPYTHON:BEGIN]
# wheel: <
# name: "infra/python/wheels/python-dateutil-py2_py3"
# version: "version:2.7.3"
# >
# wheel: <
# name: "infra/python/wheels/six-py2_py3"
# version: "version:1.10.0"
# >
# [VPYTHON:END]
import collections
import contextlib
from datetime import datetime
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment