Author: dmeyer
Date: Fri Jan  5 18:41:35 2007
New Revision: 2359

Modified:
   trunk/popcorn/src/backends/gstreamer/__init__.py
   trunk/popcorn/src/backends/mplayer/__init__.py
   trunk/popcorn/src/backends/xine/__init__.py

Log:
remove syntax warning

Modified: trunk/popcorn/src/backends/gstreamer/__init__.py
==============================================================================
--- trunk/popcorn/src/backends/gstreamer/__init__.py    (original)
+++ trunk/popcorn/src/backends/gstreamer/__init__.py    Fri Jan  5 18:41:35 2007
@@ -26,14 +26,16 @@
 #
 # -----------------------------------------------------------------------------
 
+__all__ = [ 'import_backend' ]
+
+# kaa.popcorn imports
+from kaa.popcorn.ptypes import *
+
 def get_capabilities():
     """
     Return capabilities of the gstreamer backend.
     """
 
-    # kaa.popcorn imports
-    from kaa.popcorn.ptypes import *
-
     # player config
     from config import config
 

Modified: trunk/popcorn/src/backends/mplayer/__init__.py
==============================================================================
--- trunk/popcorn/src/backends/mplayer/__init__.py      (original)
+++ trunk/popcorn/src/backends/mplayer/__init__.py      Fri Jan  5 18:41:35 2007
@@ -26,6 +26,11 @@
 #
 # -----------------------------------------------------------------------------
 
+__all__ = [ 'import_backend' ]
+
+# kaa.popcorn imports
+from kaa.popcorn.ptypes import *
+
 def get_capabilities():
     """
     Return capabilities of the mplayer backend.
@@ -34,9 +39,6 @@
     # kaa imports
     import kaa.utils
 
-    # kaa.popcorn imports
-    from kaa.popcorn.ptypes import *
-
     # player imports
     from config import config
     from player import _get_mplayer_info

Modified: trunk/popcorn/src/backends/xine/__init__.py
==============================================================================
--- trunk/popcorn/src/backends/xine/__init__.py (original)
+++ trunk/popcorn/src/backends/xine/__init__.py Fri Jan  5 18:41:35 2007
@@ -26,14 +26,16 @@
 #
 # -----------------------------------------------------------------------------
 
+__all__ = [ 'import_backend' ]
+
+# kaa.popcorn imports
+from kaa.popcorn.ptypes import *
+
 def get_capabilities():
     """
     Return capabilities of the xine backend.
     """
 
-    # kaa.popcorn imports
-    from kaa.popcorn.ptypes import *
-
     # player imports
     from config import config
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to