From 76e87479554f771723ea4005788f9318cd1654f4 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 26 Sep 2005 17:25:45 +0000 Subject: - simplified getInterface-styled calls: now using return value instead of mutable argument --- lib/python/Components/EventInfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/Components/EventInfo.py') diff --git a/lib/python/Components/EventInfo.py b/lib/python/Components/EventInfo.py index 656fd279..ac7ed9b5 100644 --- a/lib/python/Components/EventInfo.py +++ b/lib/python/Components/EventInfo.py @@ -23,7 +23,8 @@ class EventInfo(PerServiceDisplay): service = self.navcore.getCurrentService() if service != None: - if not service.info(info): + info = service.info() + if info is not None: ev = eServiceEventPtr() if info.getEvent(ev, self.now_or_next & 1) == 0: if self.now_or_next & 2: -- cgit v1.2.3