Changeset 5961

Show
Ignore:
Timestamp:
08/22/10 16:25:44 (1 year ago)
Author:
ed
Message:

Now that we are using the Python logging module, we no longer need the work-around.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/dPref.py

    r5958 r5961  
    1515        import sqlite3 as sqlite 
    1616    except ImportError: 
    17         # pkm: We can't use the errorLog to warn of this problem, because errorLog 
    18         #      descends from dObject, which needs to load dPref.py first. 
    19         warnings.warn("Class dPref requires package 'pysqlite2'.") 
    20         #dabo.log.error("This class requires SQLite") 
     17        dabo.log.error("Class dPref requires package 'pysqlite2'.") 
    2118 
    2219# We don't want to deal with these as preferences.