projects
/
rrdumb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364ddef
)
Silenced RRD read errors.
author
Stanislaw Klekot
<dozzie@jarowit.net>
Tue, 22 Oct 2013 19:08:25 +0000
(21:08 +0200)
committer
Stanislaw Klekot
<dozzie@jarowit.net>
Tue, 22 Oct 2013 19:08:25 +0000
(21:08 +0200)
This is way too broad silencing, though.
rrdplot
patch
|
blob
|
history
diff --git
a/rrdplot
b/rrdplot
index
8560d44
..
ed0e2af
100755
(executable)
--- a/
rrdplot
+++ b/
rrdplot
@@
-78,10
+78,13
@@
class Base:
self.window.show()
def reload_image(self):
- image_pixbuf = self.rrdplot.plot_pixbuf()
- self.image.set_from_pixbuf(image_pixbuf)
+ try:
+ image_pixbuf = self.rrdplot.plot_pixbuf()
+ self.image.set_from_pixbuf(image_pixbuf)
+ except:
+ pass # FIXME: don't ignore all the exceptions
- def destroy(self, widget, data=None):
+ def destroy(self, widget):
gtk.main_quit()
def main(self):