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
Merge branch 'upstreammaster'
[sfa.git]
/
sfatables
/
command.py
diff --git
a/sfatables/command.py
b/sfatables/command.py
index
5a33928
..
1cb58e7
100644
(file)
--- a/
sfatables/command.py
+++ b/
sfatables/command.py
@@
-9,11
+9,18
@@
class Command:
action = 'store_const'
def __init__(self):
action = 'store_const'
def __init__(self):
+ self.options = []
+ self.help = ''
+ self.type = 'command'
+ self.matches = False
+ self.targets = False
+ self.action = 'store_const'
+
return
def call(self, coptions, moptions, toptions):
# Override this function
return True
return
def call(self, coptions, moptions, toptions):
# Override this function
return True
- def __call__(self, coption, moptions, toptions):
+ def __call__(self, coption
s
, moptions, toptions):
return self.call(coptions,moptions,toptions)
return self.call(coptions,moptions,toptions)