Browse Source

Disabled mess of log messages

pull/8/head
jaraco 17 years ago
parent
commit
2f4e77f84d
  1. 1
      lib/svg/charts/graph.py

1
lib/svg/charts/graph.py

@ -643,6 +643,7 @@ class Graph(object):
self.graph_height = self.height - self.border_top - self.border_bottom self.graph_height = self.height - self.border_top - self.border_bottom
def get_style(self): def get_style(self):
cssutils.log.setLevel(99) # disable log messages
css_stream = pkg_resources.resource_stream('svg.charts', 'graph.css') css_stream = pkg_resources.resource_stream('svg.charts', 'graph.css')
css_string = css_stream.read() css_string = css_stream.read()
sheet = cssutils.parseString(css_string).cssText sheet = cssutils.parseString(css_string).cssText

Loading…
Cancel
Save