From 1241120ae94a5756473340ca144341605d298bfc Mon Sep 17 00:00:00 2001 From: David Lehman Date: Wed, 12 Nov 2008 17:35:01 -0600 Subject: Don't dump private class members (those with leading "__") --- exception.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'exception.py') diff --git a/exception.py b/exception.py index e4e7c08ae..b146315aa 100644 --- a/exception.py +++ b/exception.py @@ -89,6 +89,9 @@ class AnacondaExceptionDump: pad = ' ' * ((level) * 2) for key, value in instance.__dict__.items(): + if key.startswith("_%s__" % instance.__class__.__name__): + continue + if parentkey != "": curkey = parentkey + "." + key else: -- cgit