we should be returning the result, not None!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 19 Apr 2013 21:28:24 +0000 (16:28 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 19 Apr 2013 21:28:24 +0000 (16:28 -0500)
mediagoblin/tools/pluginapi.py

index 005862682822d506d0ba88f647cbf8019d4821fc..ab90ed55c82be306f232ed1dfdc1e2fa3c4542bf 100644 (file)
@@ -379,7 +379,7 @@ def hook_handle(hook_name, *args, **kwargs):
     if result is None and default_handler is not None:
         result = default_handler(*args, **kwargs)
 
-    return None
+    return result
 
 
 def hook_runall(hook_name, *args, **kwargs):