Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv15204/src/video
Modified Files:
xml_parser.py
Log Message:
some checking to avoid endless scanning
Index: xml_parser.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/xml_parser.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** xml_parser.py 29 Jun 2003 21:31:56 -0000 1.22
--- xml_parser.py 30 Jun 2003 15:30:54 -0000 1.23
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.23 2003/06/30 15:30:54 dischi
+ # some checking to avoid endless scanning
+ #
# Revision 1.22 2003/06/29 21:31:56 gsbarbieri
# subtitle and audio now use the path to files and are quoted.
***************
*** 617,621 ****
if os.path.exists("/tmp/freevo-rebuild-database"):
! os.system('rm -f /tmp/freevo-rebuild-database')
if DEBUG: print "Building the xml hash database...",
--- 620,634 ----
if os.path.exists("/tmp/freevo-rebuild-database"):
! try:
! os.remove('/tmp/freevo-rebuild-database')
! except OSError:
! print '*********************************************************'
! print
! print '*********************************************************'
! print 'ERROR: unable to remove /tmp/freevo-rebuild-database'
! print 'please fix permissions'
! print '*********************************************************'
! print
! return 0
if DEBUG: print "Building the xml hash database...",
***************
*** 658,659 ****
--- 671,673 ----
if DEBUG: print 'done'
+ return 1
-------------------------------------------------------
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