~khaeru/+junk/ceabdb

« back to all changes in this revision

Viewing changes to ceabdb/storage/__init__.py

  • Committer: Paul Kishimoto
  • Date: 2008-07-04 17:45:20 UTC
  • Revision ID: mail@paul.kishimoto.name-20080704174520-eo0mfsyva94u6rdx
 * Added BasicServer, BasicRequestHandler classes for common functionality.
 * Lifted a shutdown() method for BasicServer and subclasses from a Python 2.6 patch.
 * Use logging.getLogger(''), especially in classes that will exist in separate threads but also elsewhere for consistency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from psycopg2 import Psycopg2Store
 
1
from postgres import PostgreSQLStore
2
2
 
3
 
store_types = {
4
 
    'postgres': Psycopg2Store,
 
3
types = {
 
4
    'postgres': PostgreSQLStore,
5
5
}