Changeset 193006a
- Timestamp:
- Aug 25, 2017, 2:55:22 PM (9 years ago)
- Branches:
- 0.5, debian/bullseye, debian/jessie, master
- Children:
- fc63b30
- Parents:
- 563c04b
- File:
-
- 1 edited
-
src/python/gnuboat/daemon/rrdhandler.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/gnuboat/daemon/rrdhandler.py
r563c04b r193006a 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.
