- Timestamp:
- 04/11/05 11:04:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/togad.py
r57 r58 800 800 801 801 if not os.path.exists( rrd_dir ): 802 os.makedirs( rrd_dir ) 802 803 try: 804 os.makedirs( rrd_dir ) 805 806 except OSError, msg: 807 808 if msg.find( 'File exists' ) != -1: 809 810 # Ignore exists errors 811 pass 812 813 else: 814 815 print msg 816 return 817 803 818 debug_msg( 9, 'created dir %s' %( str(rrd_dir) ) ) 804 819
Note: See TracChangeset
for help on using the changeset viewer.