a little nicer wrt pep8
[sfa.git] / sfatables / commands / SetDefault.py
1 import os, time
2 from sfatables.command import Command
3
4 class SetDefault(Command):
5     options = [('-P','--default')]
6     help = 'Set the default rule for a chain'
7     key='set_default_rule'
8     matches = False
9     targets = False
10
11     def __init__(self):
12         return
13
14     def call(self):
15         # Override this function
16         return True
17
18     def __call__(self, option, opt_str, value, parser, *args, **kwargs):
19         return self.call(option)