Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4BFC17D7D for ; Tue, 21 Oct 2014 00:57:35 +0000 (UTC) Received: (qmail 80550 invoked by uid 500); 21 Oct 2014 00:57:35 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 80521 invoked by uid 500); 21 Oct 2014 00:57:35 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 80512 invoked by uid 99); 21 Oct 2014 00:57:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 00:57:35 +0000 X-ASF-Spam-Status: No, hits=-2001.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Oct 2014 00:57:13 +0000 Received: (qmail 79188 invoked by uid 99); 21 Oct 2014 00:57:11 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 00:57:11 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 662779D3F86; Tue, 21 Oct 2014 00:57:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kevints@apache.org To: commits@aurora.incubator.apache.org Message-Id: <4f4365d0cb5141daa5d39b8bf292faed@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Fix checkstyle. Date: Tue, 21 Oct 2014 00:57:11 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-aurora Updated Branches: refs/heads/master 2c2aeecd9 -> 4ad14475d Fix checkstyle. Testing Done: build-support/python/checkstyle-check src Reviewed at https://reviews.apache.org/r/26961/ Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/4ad14475 Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/4ad14475 Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/4ad14475 Branch: refs/heads/master Commit: 4ad14475dbde66cfeffd508502cd81129054e089 Parents: 2c2aeec Author: Kevin Sweeney Authored: Mon Oct 20 17:56:36 2014 -0700 Committer: Kevin Sweeney Committed: Mon Oct 20 17:56:36 2014 -0700 ---------------------------------------------------------------------- src/main/python/apache/aurora/client/cli/context.py | 2 -- src/test/python/apache/aurora/client/cli/test_restart.py | 1 - 2 files changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/4ad14475/src/main/python/apache/aurora/client/cli/context.py ---------------------------------------------------------------------- diff --git a/src/main/python/apache/aurora/client/cli/context.py b/src/main/python/apache/aurora/client/cli/context.py index 503e179..e356218 100644 --- a/src/main/python/apache/aurora/client/cli/context.py +++ b/src/main/python/apache/aurora/client/cli/context.py @@ -142,7 +142,6 @@ class AuroraCommandContext(Context): if resp.responseCode != ResponseCode.OK: raise self.CommandError(err_code, err_msg) - @classmethod def parse_partial_jobkey(cls, key): """Given a partial jobkey, where parts can be wildcards, parse it. @@ -182,7 +181,6 @@ class AuroraCommandContext(Context): This is potentially slow! TODO(mchucarroll): insert a warning to users about slowness if the key contains wildcards! """ - def is_fully_bound(key): """Helper that checks if a key contains wildcards.""" return not any('*' in component for component in [key.cluster, key.role, key.env, key.name]) http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/4ad14475/src/test/python/apache/aurora/client/cli/test_restart.py ---------------------------------------------------------------------- diff --git a/src/test/python/apache/aurora/client/cli/test_restart.py b/src/test/python/apache/aurora/client/cli/test_restart.py index 2f40ff0..a753ab4 100644 --- a/src/test/python/apache/aurora/client/cli/test_restart.py +++ b/src/test/python/apache/aurora/client/cli/test_restart.py @@ -181,7 +181,6 @@ class TestRestartCommand(AuroraClientCommandTest): assert mock_io.get() == ["Error restarting job west/bozo/test/hello:", "\tDamn"] - def test_restart_failed_restart(self): (mock_api, mock_scheduler_proxy) = self.create_mock_api() mock_health_check = self.setup_health_checks(mock_api)