diff options
author | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:26 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2015-08-20 15:58:26 +0200 |
commit | ff1408420159488a106492ccd11dd234967029b6 (patch) | |
tree | 473420cee1c5229a427ec4cafead1aa6c0a26800 /reconfigure/configs/crontab.py |
Imported Upstream version 0.1.29
Diffstat (limited to 'reconfigure/configs/crontab.py')
-rw-r--r-- | reconfigure/configs/crontab.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/reconfigure/configs/crontab.py b/reconfigure/configs/crontab.py new file mode 100644 index 0000000..3d7e21a --- /dev/null +++ b/reconfigure/configs/crontab.py @@ -0,0 +1,14 @@ +from reconfigure.configs.base import Reconfig +from reconfigure.parsers import CrontabParser +from reconfigure.builders import BoundBuilder +from reconfigure.items.crontab import CrontabData + + +class CrontabConfig (Reconfig): + def __init__(self, **kwargs): + k = { + 'parser': CrontabParser(), + 'builder': BoundBuilder(CrontabData), + } + k.update(kwargs) + Reconfig.__init__(self, **k) |