diff --git a/git_cl.py b/git_cl.py index 896e93ce7e..1a76bbef07 100755 --- a/git_cl.py +++ b/git_cl.py @@ -44,7 +44,6 @@ except ImportError: from third_party import colorama from third_party import httplib2 -from third_party import upload import auth import checkout import clang_format @@ -4059,9 +4058,6 @@ def get_cl_statuses(changes, fine_grained, max_processes=None): See GetStatus() for a list of possible statuses. """ - # Silence upload.py otherwise it becomes unwieldy. - upload.verbosity = 0 - if not changes: raise StopIteration() diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py index 4560065c6f..13e279c2dc 100755 --- a/tests/git_cl_test.py +++ b/tests/git_cl_test.py @@ -647,7 +647,6 @@ class TestGitCl(TestCase): self.mock(git_cl.presubmit_support, 'DoPresubmitChecks', PresubmitMock) self.mock(git_cl.checkout, 'GitCheckout', GitCheckoutMock) GitCheckoutMock.reset() - self.mock(git_cl.upload, 'RealMain', self.fail) self.mock(git_cl.watchlists, 'Watchlists', WatchlistsMock) self.mock(git_cl.auth, 'get_authenticator_for_host', AuthenticatorMock) self.mock(git_cl.gerrit_util, 'GetChangeDetail',