Changeset fc63b30 for src/python
- Timestamp:
- Aug 28, 2017, 7:14:23 PM (9 years ago)
- Branches:
- 0.5, debian/bullseye, debian/jessie, master
- Children:
- 008bce9
- Parents:
- 86442cb (diff), 193006a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/python/gnuboat/daemon/rrdhandler.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/gnuboat/daemon/rrdhandler.py
r86442cb rfc63b30 19 19 import rrdtool 20 20 import os 21 import traceback 21 22 22 23 def rrd_create_database(database_file, logperiod, start_time = 'N'): … … 52 53 53 54 def rrd_update(rrdfile, value_string): 54 rrdtool.update(rrdfile, value_string) 55 try: 56 rrdtool.update(rrdfile, value_string) 57 except: 58 print "Failed to update rrd database %s with values\n %s" % (rrdfile, value_string) 59 print(traceback.format_exc()) 55 60 56 61 def _rows(duration, resolution, step):
Note:
See TracChangeset
for help on using the changeset viewer.
