Allow database-changed signal to work with more general databases

This commit is contained in:
Doug Blank 2015-05-10 22:42:30 -04:00
parent 306ede4e8e
commit ccbab78fbc

View File

@ -24,6 +24,7 @@ Provide the database state class
"""
from .db import DbBsddbRead
from .db import DbReadBase
from .proxy.proxybase import ProxyDbBase
from .utils.callback import Callback
from .config import config
@ -34,7 +35,7 @@ class DbState(Callback):
"""
__signals__ = {
'database-changed' : ((DbBsddbRead, ProxyDbBase), ),
'database-changed' : ((DbReadBase, ProxyDbBase), ),
'no-database' : None,
}