Skip to content

Commit

Permalink
Remove reference to SqliteEventEmitter.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Jan 6, 2015
1 parent b6b9711 commit c224a13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions huey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ def __init__(self, *args, **kwargs):
try:
from huey.backends.sqlite_backend import SqliteQueue
from huey.backends.sqlite_backend import SqliteDataStore
from huey.backends.sqlite_backend import SqliteEventEmitter
from huey.backends.sqlite_backend import SqliteSchedule


class SqliteHuey(Huey):
def __init__(self, name='huey', store_none=False, always_eager=False,
location=None):
Expand All @@ -48,12 +46,11 @@ def __init__(self, name='huey', store_none=False, always_eager=False,
queue = SqliteQueue(name, location)
result_store = SqliteDataStore(name, location)
schedule = SqliteSchedule(name, location)
events = SqliteEventEmitter(name, location=location)
super(SqliteHuey, self).__init__(
queue=queue,
result_store=result_store,
schedule=schedule,
events=events,
events=None,
store_none=store_none,
always_eager=always_eager)
except ImportError:
Expand Down

0 comments on commit c224a13

Please sign in to comment.