[Yt-svn] yt-commit r521 - trunk/yt/fido

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Mon Jun 2 22:59:30 PDT 2008


Author: mturk
Date: Mon Jun  2 22:59:30 2008
New Revision: 521
URL: http://yt.spacepope.org/changeset/521

Log:
Quick fix for new output style.  Now *Dir and well as *.dir works.



Modified:
   trunk/yt/fido/RunStandalones.py

Modified: trunk/yt/fido/RunStandalones.py
==============================================================================
--- trunk/yt/fido/RunStandalones.py	(original)
+++ trunk/yt/fido/RunStandalones.py	Mon Jun  2 22:59:30 2008
@@ -183,7 +183,9 @@
         open(NEW_OUTPUT_CREATED,"w").close()
 
     def PerformAction(self):
-        for i in glob.glob("*.dir/*.hierarchy"):
+        for i in glob.glob("*.dir/*.hierarchy") + \
+                 glob.glob("*Dir/*.hierarchy"):
+            print i
             fn = i[:-10]
             self.oc.add_output(os.path.abspath(fn))
         Giles = Watcher(title=self.title, oc=self.oc)



More information about the yt-svn mailing list