X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ferror.py;h=a50827a85b3889d3c86b4fb780d20df4d20b0c0a;hb=701698c8de3db89105f62ad3008f55db665c2059;hp=4e3e53f0314f7a7c5331d97cec45374ed3f48f46;hpb=9aa65e32a270d2c77ae5cf1511c4975f713e333a;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/error.py b/src/bindings/python/bt2/bt2/error.py index 4e3e53f0..a50827a8 100644 --- a/src/bindings/python/bt2/bt2/error.py +++ b/src/bindings/python/bt2/bt2/error.py @@ -213,6 +213,6 @@ class _Error(Exception, abc.Sequence): def __str__(self): s = self._msg + '\n' - for c in self: + for c in reversed(self): s += str(c) + '\n' return s