Revision 2165
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
157 | 157 |
state['_DbConn__db'] = None # don't pickle the connection |
158 | 158 |
return state |
159 | 159 |
|
160 |
def connected(self): return self.__db != None |
|
161 |
|
|
160 | 162 |
def _db(self): |
161 | 163 |
if self.__db == None: |
162 | 164 |
# Process db_config |
Also available in: Unified diff
sql.py: DbConn: Added connected()