X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfatables%2Fcommands%2FList.py;h=86d52a2295f226e9ff084c11281549ee2b4fee75;hp=fcb1413853d1385fd4a741e0409c428c4a3ede64;hb=7f5d4eef337809e0e0e802ca8c0cc8f695dc0837;hpb=022458c172f0fa883401665d444e874eef04f215 diff --git a/sfatables/commands/List.py b/sfatables/commands/List.py index fcb14138..86d52a22 100644 --- a/sfatables/commands/List.py +++ b/sfatables/commands/List.py @@ -7,13 +7,14 @@ from sfatables.pretty import Pretty from sfatables.command import Command class List(Command): - options = [('-L','--list')] - help = 'List a chain' - key='list_rule' - matches = False - targets = False - + def __init__(self): + self.options = [('-L','--list')] + self.help = 'List a chain' + self.key='list_rule' + self.matches = False + self.targets = False + return def get_info(self, type, xmlextension_path):