summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-24 12:55:42 (GMT)
committerStephan Bergmann <sbergman@redhat.com>2014-10-24 12:55:42 (GMT)
commit5aebe7b67c02051cb4fe98219cfe056efaf975a1 (patch)
tree0a062cb10d873a11eb20b8a9744553b74f08fd6c
parente0108fa4fc954f39ef56b841dceb6a2d27d5618c (diff)
More useful pretty printing of invalid fractionsHEADmaster
Change-Id: I5e118182e146645ee8546c69edf21834117a1129
-rw-r--r--solenv/gdb/libreoffice/tl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gdb/libreoffice/tl.py b/solenv/gdb/libreoffice/tl.py
index 816de7b..8fb337d 100644
--- a/solenv/gdb/libreoffice/tl.py
+++ b/solenv/gdb/libreoffice/tl.py
@@ -68,7 +68,7 @@ class FractionPrinter(object):
if denominator > 0:
return "%d/%d" % (numerator, denominator)
else:
- return "invalid %s" % self.typename
+ return "invalid %s %d/%d" % (self.typename, numerator, denominator)
class DateTimeImpl(object):