You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/10/22 00:45:29 UTC
git commit: Fixing python style check issues.
Repository: incubator-aurora
Updated Branches:
refs/heads/master 6151fe77e -> dde0a7267
Fixing python style check issues.
Fixing build broken by https://reviews.apache.org/r/26363 due
to python style check issues.
Reviewed at https://reviews.apache.org/r/27001/
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/dde0a726
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/dde0a726
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/dde0a726
Branch: refs/heads/master
Commit: dde0a7267d956b29fd355581c50e599f17341803
Parents: 6151fe7
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Tue Oct 21 15:45:07 2014 -0700
Committer: Maxim Khutornenko <ma...@apache.org>
Committed: Tue Oct 21 15:45:07 2014 -0700
----------------------------------------------------------------------
src/main/python/apache/aurora/client/cli/jobs.py | 1 -
src/test/python/apache/aurora/client/cli/test_update.py | 3 ---
2 files changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/dde0a726/src/main/python/apache/aurora/client/cli/jobs.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/cli/jobs.py b/src/main/python/apache/aurora/client/cli/jobs.py
index 362af7a..10f8e0d 100644
--- a/src/main/python/apache/aurora/client/cli/jobs.py
+++ b/src/main/python/apache/aurora/client/cli/jobs.py
@@ -20,7 +20,6 @@ import os
import pprint
import subprocess
import textwrap
-import time
from datetime import datetime
from tempfile import NamedTemporaryFile
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/dde0a726/src/test/python/apache/aurora/client/cli/test_update.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/client/cli/test_update.py b/src/test/python/apache/aurora/client/cli/test_update.py
index 1aff981..1ec5483 100644
--- a/src/test/python/apache/aurora/client/cli/test_update.py
+++ b/src/test/python/apache/aurora/client/cli/test_update.py
@@ -287,8 +287,6 @@ class TestUpdateCommand(AuroraClientCommandTest):
assert mock_err.get() == []
def test_updater_simple_large_does_warn(self):
- mock_out = IOMock()
- mock_err = IOMock()
(mock_api, mock_scheduler_proxy) = self.create_mock_api()
mock_health_check = self.setup_health_checks(mock_api)
mock_quota_check = self.setup_quota_check()
@@ -371,7 +369,6 @@ class TestUpdateCommand(AuroraClientCommandTest):
cmd.execute(['job', 'update', 'west/bozo/test/hello/1,3', fp.name])
assert pause.call_count == 0
-
@classmethod
def assert_correct_addinstance_calls(cls, api):
assert api.addInstances.call_count == 20