Author: dmeyer
Date: Tue Mar 21 14:07:56 2006
New Revision: 8120
Modified:
trunk/core/src/ipc/epg.py
Log:
Remove connect(). In fact, this whole file should be deleted
but we need the grabber config for now (in freevo-epg). This
needs some cleanup.
Modified: trunk/core/src/ipc/epg.py
==============================================================================
--- trunk/core/src/ipc/epg.py (original)
+++ trunk/core/src/ipc/epg.py Tue Mar 21 14:07:56 2006
@@ -45,7 +45,7 @@
# FIXME: create logger objects in conf
import freevo.conf
-__all__ = [ 'cmp_channel', 'config', 'connect' ]
+__all__ = [ 'cmp_channel', 'config' ]
QExpr = kaa.epg.QExpr
@@ -123,24 +123,6 @@
# save the file again in case it did not exist or the variables changed
config.save()
-def connect():
- if config.address == '':
- # set to localhost to disable
- # hide this from the user here to avoid confusion
- address = '127.0.0.1'
- else:
- address = config.address
-
- loglevel = getattr(logging, config.log_level)
-
- guide = kaa.epg.connect(config.database, address,
- logfile='%s/epgserver-%s' % \
- (freevo.conf.LOGDIR, os.getuid()),
- loglevel=loglevel)
-
- return guide
-
-
def cmp_channel(c1, c2):
l1 = len(c1.tuner_id)
l2 = len(c2.tuner_id)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog