run kind of runs

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-12-09 00:00:01 +00:00
parent 5e20ba833b
commit fa1e4ffa7d
34 changed files with 848 additions and 838 deletions

4
getvar
View File

@@ -4,7 +4,7 @@ import types
import common
parser = common.get_argparse(argparse_args={
parser = self.get_argparse(argparse_args={
'description': '''Print the value of a kwargs['py'] variable.
This is useful to:
@@ -27,7 +27,7 @@ List all available variables:
'''
})
parser.add_argument('variable', nargs='?')
args = common.setup(parser)
args = self.setup(parser)
if kwargs['variable']:
print(getattr(common, kwargs['variable']))
else: