Fix shadowing of imports (#211)

This commit is contained in:
Stein Magnus Jodal 2012-10-17 00:56:49 +02:00
parent 01d7e3bd31
commit dbea615a10
3 changed files with 9 additions and 6 deletions

View File

@ -3,7 +3,8 @@ import time
from pykka.actor import ThreadingActor
from mopidy import core, exceptions, settings
from mopidy import exceptions, settings
from mopidy.core import CoreListener
try:
import pylast
@ -16,7 +17,7 @@ API_KEY = '2236babefa8ebb3d93ea467560d00d04'
API_SECRET = '94d9a09c0cd5be955c4afaeaffcaefcd'
class LastfmFrontend(ThreadingActor, core.CoreListener):
class LastfmFrontend(ThreadingActor, CoreListener):
"""
Frontend which scrobbles the music you play to your `Last.fm
<http://www.last.fm>`_ profile.

View File

@ -3,14 +3,15 @@ import sys
from pykka import registry, actor
from mopidy import core, settings
from mopidy import settings
from mopidy.core import CoreListener
from mopidy.frontends.mpd import session
from mopidy.utils import encoding, network, process
logger = logging.getLogger('mopidy.frontends.mpd')
class MpdFrontend(actor.ThreadingActor, core.CoreListener):
class MpdFrontend(actor.ThreadingActor, CoreListener):
"""
The MPD frontend.

View File

@ -2,7 +2,8 @@ import logging
from pykka.actor import ThreadingActor
from mopidy import core, settings
from mopidy import settings
from mopidy.core import CoreListener
from mopidy.frontends.mpris import objects
logger = logging.getLogger('mopidy.frontends.mpris')
@ -14,7 +15,7 @@ except ImportError as import_error:
logger.debug(u'Startup notification will not be sent (%s)', import_error)
class MprisFrontend(ThreadingActor, core.CoreListener):
class MprisFrontend(ThreadingActor, CoreListener):
"""
Frontend which lets you control Mopidy through the Media Player Remote
Interfacing Specification (`MPRIS <http://www.mpris.org/>`_) D-Bus