Removed unused module from hooks.py

This commit is contained in:
ueg1990
2015-09-13 06:36:39 -04:00
parent 9d69c7845d
commit 649aeaa489
+1 -4
View File
@@ -12,11 +12,8 @@ Available hooks:
The response generated from a Request.
"""
from collections import defaultdict
HOOKS = ['response']
def default_hooks():
return dict((event, []) for event in HOOKS)
@@ -34,4 +31,4 @@ def dispatch_hook(key, hooks, hook_data, **kwargs):
_hook_data = hook(hook_data, **kwargs)
if _hook_data is not None:
hook_data = _hook_data
return hook_data
return hook_data