Ignore:
Timestamp:
Jun 25, 2008, 5:57:01 PM (16 years ago)
Author:
ole
Message:

Moved culvert routines into own area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/system_tools.py

    r5072 r5436  
    66import sys
    77import os
     8
     9def log_to_file(filename, s, verbose=True):
     10    """Log string to open file descriptor
     11    """
     12
     13    fid = open(filename, 'a')
     14    if verbose: print s
     15    fid.write(s + '\n')
     16    fid.close()
     17
    818
    919def get_user_name():
Note: See TracChangeset for help on using the changeset viewer.