dabo Commit
Revision 5961
Date: 2010-08-22 16:25:44 -0700 (Sun, 22 Aug 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5961
Changed:
U trunk/dabo/dPref.py
Log:
Now that we are using the Python logging module, we no longer need the
work-around.
Diff:
Modified: trunk/dabo/dPref.py
===================================================================
--- trunk/dabo/dPref.py 2010-08-22 21:20:27 UTC (rev 5960)
+++ trunk/dabo/dPref.py 2010-08-22 23:25:44 UTC (rev 5961)
@@ -14,10 +14,7 @@
try:
import sqlite3 as sqlite
except ImportError:
- # pkm: We can't use the errorLog to warn of this problem,
because errorLog
- # descends from dObject, which needs to load dPref.py
first.
- warnings.warn("Class dPref requires package 'pysqlite2'.")
- #dabo.log.error("This class requires SQLite")
+ dabo.log.error("Class dPref requires package 'pysqlite2'.")
# We don't want to deal with these as preferences.
regularAtts = ("AutoPersist", "__base__", "__bases__", "__basicsize__",
"__call__",
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]