projects
/
matthijs
/
projects
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handlers: Add **kwargs to Handler methods.
[matthijs/projects/backupninja.git]
/
src
/
lib
/
backupninja
/
handlers
/
__init__.py
diff --git
a/src/lib/backupninja/handlers/__init__.py
b/src/lib/backupninja/handlers/__init__.py
index 7603afd0a1bfbe3c29cb1bed2c101cfe9514dcd9..fb57bf43f01622000622a0c21f71056919bf9c70 100644
(file)
--- a/
src/lib/backupninja/handlers/__init__.py
+++ b/
src/lib/backupninja/handlers/__init__.py
@@
-26,14
+26,14
@@
class Handler(object):
def __init__(self, conf):
self.conf = conf
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
"""
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.
"""
Called when all targets have been processed. Can be overridden
in a subclass.