mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
test-gdb: move to pure python calls
This commit is contained in:
7
getvar
7
getvar
@@ -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='?')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user