diff --git a/requests/hooks.py b/requests/hooks.py index 59c82696..2938029b 100644 --- a/requests/hooks.py +++ b/requests/hooks.py @@ -24,6 +24,7 @@ Available hooks: import warnings + def dispatch_hook(key, hooks, hook_data): """Dipatches a hook dictionary on a given peice of data.""" @@ -36,5 +37,4 @@ def dispatch_hook(key, hooks, hook_data): except Exception, why: warnings.warn(str(why)) - return hook_data