Skip to content
Browse files

buildlogger: suppress deprecation warnings on certain python versions

  • Loading branch information...
1 parent 8c95b8e commit 20947d68f17948cbcba2d3daca106231a0551c6a Dan Crosta committed Jul 5, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 buildscripts/buildlogger.py
View
5 buildscripts/buildlogger.py
@@ -48,6 +48,11 @@
import urllib2
import utils
+# suppress deprecation warnings that happen when
+# we import the 'buildbot.tac' file below
+import warnings
+warnings.simplefilter('ignore', DeprecationWarning)
+
try:
import json
except:

0 comments on commit 20947d6

Please sign in to comment.
Something went wrong with that request. Please try again.