Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

buildlogger: suppress deprecation warnings on certain python versions

  • Loading branch information...
commit 20947d68f17948cbcba2d3daca106231a0551c6a 1 parent 8c95b8e
Dan Crosta authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 buildscripts/buildlogger.py
5 buildscripts/buildlogger.py
@@ -48,6 +48,11 @@
48 48 import urllib2
49 49 import utils
50 50
  51 +# suppress deprecation warnings that happen when
  52 +# we import the 'buildbot.tac' file below
  53 +import warnings
  54 +warnings.simplefilter('ignore', DeprecationWarning)
  55 +
51 56 try:
52 57 import json
53 58 except:

0 comments on commit 20947d6

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