git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dont inculde full dns name in the node hrn
[sfa.git]
/
sfatables
/
command.py
1
import os, time
2
3
class Command:
4
options = []
5
help = ''
6
type='command'
7
matches = False
8
targets = False
9
action = 'store_const'
10
11
def __init__(self):
12
return
13
14
def call(self, coptions, moptions, toptions):
15
# Override this function
16
return True
17
18
def __call__(self, coptions, moptions, toptions):
19
return self.call(coptions,moptions,toptions)