git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
063caab92801cf1bbe7ead3d7c2a01ca36abba9e
[sfa.git]
/
sfatables
/
commands
/
SetDefault.py
1
import os, time
2
3
class Command:
4
options = []
5
help = ''
6
key=''
7
matches = False
8
targets = False
9
10
def __init__(self):
11
return
12
13
def call(self):
14
# Override this function
15
return True
16
17
def __call__(self, option, opt_str, value, parser, *args, **kwargs):
18
return self.call(option)