From db3210090df08c276af7ac14cdfe7b09214a3dbd Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 24 Jul 2006 13:53:01 +0000 Subject: add more useful __repr__ --- lib/python/Screens/Screen.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/Screens/Screen.py') diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 060270b1..0727f78b 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -113,3 +113,6 @@ class Screen(dict, HTMLSkin, GUISkin): for val in self.values() + self.renderer: if isinstance(val, GUIComponent) or isinstance(val, Source): val.onHide() + + def __repr__(self): + return str(type(self)) -- cgit v1.2.3