You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ke...@apache.org on 2014/10/21 02:57:11 UTC
git commit: Fix checkstyle.
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 <ke...@apache.org>
Authored: Mon Oct 20 17:56:36 2014 -0700
Committer: Kevin Sweeney <ke...@apache.org>
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)