Changeset 2683 for simo


Ignore:
Timestamp:
01/10/12 06:18:04 (4 months ago)
Author:
joni
Message:

fixed log for spatialite error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simo/trunk/src/simo/db/datadb/db.py

    r2682 r2683  
    10701070        except Exception, e: #fallback to system lib 
    10711071            if not sys.platform.startswith('win'): 
    1072                 self.logger.warning('Failed to load spatialite (%s), '\ 
    1073                                     'falling back to system library' \ 
    1074                                     % (str(e),)) 
     1072                self.logger.log_message('db', 'warning', 
     1073                                        'Failed to load spatialite (%s), '\ 
     1074                                        'falling back to system library' \ 
     1075                                        % (str(e),)) 
    10751076            self.load_extension(libfile) 
    10761077        if first: 
Note: See TracChangeset for help on using the changeset viewer.