git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
(no commit message)
[sfa.git]
/
sfatables
/
commands
/
Add.py
1
import os, time
2
from sfatables.command import Command
3
4
class Add(Command):
5
options = [('-A','--add')]
6
help = 'Add a rule to a chain'
7
matches = True
8
targets = True
9
10
def __init__(self):
11
return
12
13
def call(self, command_options, match_options, target_options):
14
# Override this function
15
return True
16