| Index: tools/telemetry/update_docs
|
| diff --git a/tools/telemetry/unittest_data/discoverable_classes/discover_dummyclass.py b/tools/telemetry/update_docs
|
| old mode 100644
|
| new mode 100755
|
| similarity index 54%
|
| copy from tools/telemetry/unittest_data/discoverable_classes/discover_dummyclass.py
|
| copy to tools/telemetry/update_docs
|
| index afda1e54599cf8c78bdb7d948751458a6f88b5b8..2cd5dc99bb95821ab39f955c27562e07a84a073f
|
| --- a/tools/telemetry/unittest_data/discoverable_classes/discover_dummyclass.py
|
| +++ b/tools/telemetry/update_docs
|
| @@ -1,8 +1,11 @@
|
| +#!/usr/bin/env python
|
| # Copyright (c) 2013 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 os
|
| +import sys
|
|
|
| -"""A dummy exception subclasses used by core/discover.py's unit tests."""
|
| +from build import update_docs
|
|
|
| -class DummyException(Exception):
|
| - pass
|
| +if __name__ == '__main__':
|
| + sys.exit(update_docs.Main(sys.argv[1:]))
|
|
|