-update to latest master
[mediagoblin.git] / mediagoblin / processing / __init__.py
index ae3652cf04a27a6b205da58948aa6b0e7d931157..454eb09b2ba45a689801565487233edb858b8ef0 100644 (file)
@@ -181,10 +181,8 @@ class BaseProcessingFail(Exception):
         return u"%s:%s" % (
             self.__class__.__module__, self.__class__.__name__)
 
-    def __init__(self, *args, **kwargs):
-        # next line is REQUIRED to have pickable exceptions if you want
-        # to be able to pass in custom arguments (see celery docs)
-        Exception.__init__(self, *args, **metadata)
+    def __init__(self, **metadata):
+        self.metadata = metadata or {}
 
 class BadMediaFail(BaseProcessingFail):
     """