git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trying to add some error checking to matches and targets
[sfa.git]
/
sfatables
/
commands
/
Delete.py
diff --git
a/sfatables/commands/Delete.py
b/sfatables/commands/Delete.py
index
e59da62
..
cac5445
100644
(file)
--- a/
sfatables/commands/Delete.py
+++ b/
sfatables/commands/Delete.py
@@
-1,7
+1,7
@@
import os, time
-from sfa
.sfatables.command import Ad
d
+from sfa
tables.command import Comman
d
-class
Add
(Command):
+class
Delete
(Command):
options = [('-D','--delete')]
help = 'Delete a rule from a chain'
key='delete_rule'