Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15982/src
Modified Files:
plugin_loader.py
Log Message:
make None the defaulr argument for get
Index: plugin_loader.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugin_loader.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** plugin_loader.py 11 Jul 2005 11:00:31 -0000 1.3
--- plugin_loader.py 5 Aug 2005 18:15:22 -0000 1.4
***************
*** 202,210 ****
! def get(self, type):
"""
Get the plugin list 'type' or all if type is None
"""
! if not type:
return self.plugins
if not self.types.has_key(type):
--- 202,210 ----
! def get(self, type=None):
"""
Get the plugin list 'type' or all if type is None
"""
! if type == None:
return self.plugins
if not self.types.has_key(type):
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog