[Durian-svn] [5474] minor changes to lib checker

campbell institute at blender.org
Tue Jun 22 12:21:35 CEST 2010


Revision: 5474
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=5474
Author:   campbell
Date:     2010-06-22 12:21:35 +0200 (Tue, 22 Jun 2010)
Log Message:
-----------
minor changes to lib checker

Modified Paths:
--------------
    pro/scripts/utilities/findLibError.py

Modified: pro/scripts/utilities/findLibError.py
===================================================================
--- pro/scripts/utilities/findLibError.py	2010-06-22 09:58:44 UTC (rev 5473)
+++ pro/scripts/utilities/findLibError.py	2010-06-22 10:21:35 UTC (rev 5474)
@@ -59,9 +59,9 @@
     for dirpath, dirnames, filenames in os.walk(path):
         for filename in filenames:
             if filename.endswith(".blend"):
-                #if not (filename.endswith("_comp.blend") or "_layout" in filename):
-                if filename.startswith("0"):
-                    yield os.path.join(dirpath, filename)
+                if not (filename.endswith("_comp.blend") or "_layout" in filename):
+                    if filename.startswith("0"):
+                        yield os.path.join(dirpath, filename)
 
 def main():
     file_blends = list(blend_path_list(search))
@@ -92,7 +92,7 @@
         pyscript = os.path.join(os.getcwd(), os.path.join(os.path.dirname(__file__), "findPathError.py"))
 
         # Also run a py script
-        cmd = '%s -b %s   -P %s   1> %s 2>&1' % (blender_cmd, line, pyscript, tempf)
+        cmd = '%s -noaudio --background %s   -P %s   1> %s 2>&1' % (blender_cmd, line, pyscript, tempf)
         
         # print(cmd)
         os.system(cmd)



More information about the Durian-svn mailing list