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

Modified Files:
        plugin.py 
Log Message:
better plugin remove

Index: plugin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugin.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** plugin.py   21 Nov 2003 17:55:47 -0000      1.50
--- plugin.py   22 Nov 2003 12:02:51 -0000      1.51
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.51  2003/11/22 12:02:51  dischi
+ # better plugin remove
+ #
  # Revision 1.50  2003/11/21 17:55:47  dischi
  # support a list of named plugins
***************
*** 75,78 ****
--- 78,82 ----
  import traceback
  import gettext
+ import copy
  
  from event import Event
***************
*** 245,254 ****
      # remove by name
      r = [] 
!     for p in __all_plugins__:
          if p[0] == id:
!             r.append(p)
! 
!     for p in r:
!         __all_plugins__.remove(p)
  
  
--- 249,255 ----
      # remove by name
      r = [] 
!     for p in copy.copy(__all_plugins__):
          if p[0] == id:
!             __all_plugins__.remove(p)
  
  




-------------------------------------------------------
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