[Durian-svn] [6037] minor updates to checking script

campbell institute at blender.org
Wed Jun 30 12:23:56 CEST 2010


Revision: 6037
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=6037
Author:   campbell
Date:     2010-06-30 12:23:55 +0200 (Wed, 30 Jun 2010)
Log Message:
-----------
minor updates to checking script

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

Modified: pro/scripts/utilities/findLibError.py
===================================================================
--- pro/scripts/utilities/findLibError.py	2010-06-30 09:55:13 UTC (rev 6036)
+++ pro/scripts/utilities/findLibError.py	2010-06-30 10:23:55 UTC (rev 6037)
@@ -56,12 +56,15 @@
 DEBUG = True
 
 def blend_path_list(path):
+    #return ["/media/data/durian/pro/scenes/03.3_sleeping/03.3c.blend"]
+    #'''
     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))
@@ -93,6 +96,7 @@
 
         # Also run a py script
         cmd = '%s -noaudio --background %s   -P %s   1> %s 2>&1' % (blender_cmd, line, pyscript, tempf)
+        print(cmd)
         
         # print(cmd)
         os.system(cmd)



More information about the Durian-svn mailing list