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

Modified Files:
        __init__.py 
Log Message:
remove update function

Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/__init__.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** __init__.py 29 Dec 2003 22:09:19 -0000      1.13
--- __init__.py 3 Jan 2004 17:40:27 -0000       1.14
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.14  2004/01/03 17:40:27  dischi
+ # remove update function
+ #
  # Revision 1.13  2003/12/29 22:09:19  dischi
  # move to new Item attributes
***************
*** 34,43 ****
  # move more info to the Mimetype
  #
- # Revision 1.5  2003/11/30 14:41:10  dischi
- # use new Mimetype plugin interface
- #
- # Revision 1.4  2003/11/28 19:26:37  dischi
- # renamed some config variables
- #
  # -----------------------------------------------------------------------
  # Freevo - A Home Theater PC framework
--- 37,40 ----
***************
*** 105,122 ****
              files.remove(file)
          return items
- 
- 
-     def update(self, parent, new_files, del_files, new_items, del_items, 
current_items):
-         """
-         update a directory. Add items to del_items if they had to be removed based on
-         del_files or add them to new_items based on new_files
-         """
-         for item in current_items:
-             for file in util.find_matches(del_files, config.IMAGE_SUFFIX):
-                 if item.type == 'image' and item.filename == file:
-                     del_items += [ item ]
-                     del_files.remove(file)
- 
-         new_items += self.get(parent, new_files)
  
  
--- 102,105 ----




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to