Ignore:
Timestamp:
03/28/13 11:44:36 (11 years ago)
Author:
jripsl
Message:
  • add static class initialisation function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Monitoring/smon/db.py

    r840 r841  
    4040 
    4141                # open connection 
    42                 self._conn=sqlite3.connect(self.getDBName(),l__timeout) 
     42                self._conn=sqlite3.connect(self.get_DB_name(),l__timeout) 
    4343                self._conn.row_factory=sqlite3.Row # this is for "by name" colums indexing 
    4444 
     
    4646 
    4747        @classmethod 
    48         def getDBName(self): 
     48        def get_DB_name(self): 
    4949                return SMON.dbfile 
    5050 
Note: See TracChangeset for help on using the changeset viewer.