diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 99c7c36b5..d4730789c 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -1,4 +1,4 @@ -# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Copyright (c) 2010 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. @@ -29,7 +29,7 @@ def CommonChecks(input_api, output_api): white_list = [r'.*\.py$', r'.*git-try$'] black_list = list(input_api.DEFAULT_BLACK_LIST) + [ - r'.*cpplint\.py$', r'.*git_cl_repo.*'] + r'.*cpplint\.py$', r'.*git_cl\/.*'] output.extend(input_api.canned_checks.RunPylint( input_api, output_api, diff --git a/git_cl_hooks.py b/git_cl_hooks.py index 1ba66087b..e880a0b30 100644 --- a/git_cl_hooks.py +++ b/git_cl_hooks.py @@ -8,8 +8,8 @@ import sys import breakpad # pylint: disable=W0611 -from git_cl_repo import git_cl -from git_cl_repo import upload +from git_cl import git_cl +from git_cl import upload import presubmit_support import scm