From: Andreas Monzner Date: Fri, 21 Sep 2007 20:45:28 +0000 (+0000) Subject: remove unneeded code X-Git-Tag: 2.6.0~1885 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/0923ac50c8dc0d3f77363adb093b6e7e29f030ed remove unneeded code --- diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py index b7cfb430..39499c77 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()