test-gdb: move to pure python calls

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent d923c606f3
commit 3ce152f61c
10 changed files with 182 additions and 100 deletions

7
getvar
View File

@@ -1,13 +1,13 @@
#!/usr/bin/env python3
import types
import common
from shell_helpers import LF
class Main(common.LkmcCliFunction):
def __init__(self):
super().__init__(
defaults={
'print_time': False,
},
description='''\
Print the value of a self.env['py'] variable.
@@ -28,7 +28,6 @@ List all available variables:
./%(prog)s
....
''',
do_print_time=False,
)
self.add_argument('variable', nargs='?')