Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: rietveld.py

Issue 221423007: Fix upload.py to properly use a local logger (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/upload.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rietveld.py
diff --git a/rietveld.py b/rietveld.py
index 88a1b29aea875690e20159c0613fbfe04c1cdb82..ba2a27d874b8c562f6327904bd9d3529e206f3a2 100644
--- a/rietveld.py
+++ b/rietveld.py
@@ -30,10 +30,7 @@ from third_party import upload
import third_party.oauth2client.client as oa2client
from third_party import httplib2
-# Hack out upload logging.info()
-upload.logging = logging.getLogger('upload')
-# Mac pylint choke on this line.
-upload.logging.setLevel(logging.WARNING) # pylint: disable=E1103
+upload.LOGGER.setLevel(logging.WARNING) # pylint: disable=E1103
class Rietveld(object):
« no previous file with comments | « no previous file | third_party/upload.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698