handlers: Add **kwargs to Handler methods.
[matthijs/projects/backupninja.git] / src / lib / backupninja / handlers / __init__.py
index 7603afd0a1bfbe3c29cb1bed2c101cfe9514dcd9..fb57bf43f01622000622a0c21f71056919bf9c70 100644 (file)
@@ -26,14 +26,14 @@ class Handler(object):
     def __init__(self, conf):
         self.conf = conf
 
-    def run(self):
+    def run(self, **kwargs):
         """
         Run this handler for a single target. Override this method
         in a subclass
         """
         pass
 
-    def finish(self):
+    def finish(self, **kwargs):
         """
         Called when all targets have been processed. Can be overridden
         in a subclass.