[bootlin/training-materials updates] master: labs: gdb: fix python indentation (0ccd9f45)
Clément Léger
clement.leger at bootlin.com
Tue Jan 31 15:22:44 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/0ccd9f454a649b8bcf5d3d53f054c90f0e3baf71
>---------------------------------------------------------------
commit 0ccd9f454a649b8bcf5d3d53f054c90f0e3baf71
Author: Clément Léger <clement.leger at bootlin.com>
Date: Tue Jan 31 15:22:44 2023 +0100
labs: gdb: fix python indentation
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
0ccd9f454a649b8bcf5d3d53f054c90f0e3baf71
lab-data/debugging/nfsroot/root/gdb/linked_list.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lab-data/debugging/nfsroot/root/gdb/linked_list.py b/lab-data/debugging/nfsroot/root/gdb/linked_list.py
index 6a375486..f0ba5d76 100644
--- a/lab-data/debugging/nfsroot/root/gdb/linked_list.py
+++ b/lab-data/debugging/nfsroot/root/gdb/linked_list.py
@@ -1,13 +1,13 @@
import gdb
class StructNamePrinter:
- "Print a struct name"
+ "Print a struct name"
- def __init__(self, val):
- self.val = val
+ def __init__(self, val):
+ self.val = val
- def to_string(self):
- return "TODO"
+ def to_string(self):
+ return "TODO"
def struct_name_lookup_function(val):
if str(val.type) == 'struct name':
More information about the training-materials-updates
mailing list