Commit d8550ca6 authored by hjk's avatar hjk
Browse files

Debugger: use 'gen_printer' instead of 'invoke' when importing dumpers



Seems to be more widespread.

Change-Id: I3fe161844b78970e321b4d91e18a411456dbeb9a
Reviewed-by: default avatarSven Anderson <sven@anderson.de>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 25f9de11
......@@ -1975,7 +1975,7 @@ class PlainDumper:
self.printer = printer
def __call__(self, d, value):
printer = self.printer.invoke(value)
printer = self.printer.gen_printer(value)
lister = getattr(printer, "children", None)
children = [] if lister is None else list(lister())
d.putType(self.printer.name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment