summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/pp-rec-component.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/pp-rec-component.py')
-rw-r--r--gdb/testsuite/gdb.ada/pp-rec-component.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/pp-rec-component.py b/gdb/testsuite/gdb.ada/pp-rec-component.py
index 4341fc380e4..477a663b668 100644
--- a/gdb/testsuite/gdb.ada/pp-rec-component.py
+++ b/gdb/testsuite/gdb.ada/pp-rec-component.py
@@ -22,7 +22,7 @@ class TimeTPrinter:
self.val = val
def to_string(self):
- secs = int(self.val['secs'])
+ secs = int(self.val["secs"])
return "%s (%d)" % (asctime(gmtime(secs)), secs)