Update of /cvsroot/freevo/freevo/src/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10213/src/config

Modified Files:
        xine.py 
Log Message:
fix fbxine version detection

Index: xine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config/xine.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xine.py     28 Nov 2004 17:31:24 -0000      1.1
--- xine.py     5 Aug 2005 17:50:30 -0000       1.2
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2005/08/05 17:50:30  dischi
+ # fix fbxine version detection
+ #
  # Revision 1.1  2004/11/28 17:31:24  dischi
  # merge system/ and config.py into config/, needs more cleanup
***************
*** 85,88 ****
--- 88,97 ----
                  cache['FBXINE_VERSION'] = line[7:line[8:].find(' ')+8]
          child.wait()
+         if not cache['FBXINE_VERSION']:
+             child = popen2.Popen3([config.CONF.fbxine, '--version'])
+             for line in child.fromchild.readlines():
+                 if line.startswith('fbxine '):
+                     cache['FBXINE_VERSION'] = line[7:line[8:].find(' ')+8]
+             child.wait()
          cache['_FBXINE_TIMESTAMP'] = timestamp
  



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

Reply via email to