(no commit message)
[sfa.git] / sfatables / commands / List.py
1 import os, time
2 from sfa.sfatables.command import Add
3
4 class List(Command):
5     options = [('-L','--list')]
6     help = 'List a chain'
7     key='list_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)