Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv2959

Modified Files:
        skin.py 
Log Message:
do not create a skin object for helpers

Index: skin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skin.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** skin.py     28 Nov 2003 19:26:36 -0000      1.8
--- skin.py     6 Dec 2003 16:49:09 -0000       1.9
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2003/12/06 16:49:09  dischi
+ # do not create a skin object for helpers
+ #
  # Revision 1.8  2003/11/28 19:26:36  dischi
  # renamed some config variables
***************
*** 75,80 ****
      global _singleton
      if _singleton == None:
          # Loads the skin implementation defined in freevo_config.py
!         exec('import skins.' + config.SKIN_MODULE  + '.' + config.SKIN_MODULE  + ' 
as skinimpl')
  
          _debug_('Imported skin %s' % config.SKIN_MODULE,2)
--- 78,88 ----
      global _singleton
      if _singleton == None:
+         # we don't need this for helpers
+         if config.HELPER:
+             return None
+     
          # Loads the skin implementation defined in freevo_config.py
!         exec('import skins.' + config.SKIN_MODULE  + '.' + config.SKIN_MODULE  + \
!              ' as skinimpl')
  
          _debug_('Imported skin %s' % config.SKIN_MODULE,2)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to