[Yt-svn] yt-commit r627 - branches/yt-generalization/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Jun 25 22:13:01 PDT 2008


Author: mturk
Date: Wed Jun 25 22:13:00 2008
New Revision: 627
URL: http://yt.spacepope.org/changeset/627

Log:
Minor change at the start of a larger refactoring.



Modified:
   branches/yt-generalization/yt/lagos/HierarchyType.py

Modified: branches/yt-generalization/yt/lagos/HierarchyType.py
==============================================================================
--- branches/yt-generalization/yt/lagos/HierarchyType.py	(original)
+++ branches/yt-generalization/yt/lagos/HierarchyType.py	Wed Jun 25 22:13:00 2008
@@ -803,7 +803,7 @@
 class OrionHierarchy(AMRHierarchy):
     def __init__(self,pf,data_style=7):
         self.field_indexes = {}
-        self.parameter_file = pf
+        self.parameter_file = weakref.proxy(pf)
         header_filename = os.path.join(pf.fullplotdir,'Header')
         self.data_style = data_style
         self._setup_classes()



More information about the yt-svn mailing list