Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv12072/src/www/htdocs

Modified Files:
        library.rpy 
Log Message:
Made a check to see if file exists before unlinking. 


Index: library.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/library.rpy,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** library.rpy 22 May 2003 21:33:23 -0000      1.6
--- library.rpy 1 Jul 2003 21:47:35 -0000       1.7
***************
*** 14,17 ****
--- 14,20 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.7  2003/07/01 21:47:35  outlyer
+ # Made a check to see if file exists before unlinking.
+ #
  # Revision 1.6  2003/05/22 21:33:23  outlyer
  # Lots of cosmetic changes:
***************
*** 124,128 ****
                  elif action == 'delete':
                      print 'delete %s' % file_loc
!                     os.unlink(file_loc)
              else:
                  fv.res += '%s does not exist. no action taken.' % file_loc
--- 127,131 ----
                  elif action == 'delete':
                      print 'delete %s' % file_loc
!                     if os.path.exists(file_loc): os.unlink(file_loc)
              else:
                  fv.res += '%s does not exist. no action taken.' % file_loc




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to