From 0923ac50c8dc0d3f77363adb093b6e7e29f030ed Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 21 Sep 2007 20:45:28 +0000 Subject: [PATCH] remove unneeded code --- lib/python/Components/GUISkin.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py index b7cfb43..39499c7 100644 --- a/lib/python/Components/GUISkin.py +++ b/lib/python/Components/GUISkin.py @@ -1,7 +1,6 @@ from GUIComponent import GUIComponent from skin import applyAllAttributes from Tools.CList import CList -from Sources.Source import Source class GUISkin: __module__ = __name__ @@ -36,14 +35,9 @@ class GUISkin: f() def deleteGUIScreen(self): - seenFakeSource = False for (name, val) in self.items(): - if name == "fake" and isinstance(val, Source): - seenFakeSource = True if isinstance(val, GUIComponent): val.GUIdelete() - if seenFakeSource: - del self["fake"] def close(self): self.deleteGUIScreen() -- 2.7.4