[cig-commits] r6757 - short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d

leif at geodynamics.org leif at geodynamics.org
Wed May 2 13:25:05 PDT 2007


Author: leif
Date: 2007-05-02 13:25:05 -0700 (Wed, 02 May 2007)
New Revision: 6757

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py
Log:
Removed kludgey support for old 'pl3dscan.xxx' and 'scanner.xxx'
options.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py	2007-05-02 20:09:16 UTC (rev 6756)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py	2007-05-02 20:25:05 UTC (rev 6757)
@@ -354,17 +354,7 @@
         
         return
     
-    # hack to recognize old 'pl3dscan.xxx' and 'scanner.xxx' options
-    def applyConfiguration(self, context=None):
-        # this mimics the standard Pyre order:  <component-name>.xxx overrides <facility-name>.xxx
-        for alias in ["scanner", "pl3dscan"]:
-            node = self.inventory._priv_registry.extractNode(alias)
-            if node:
-                node.name = self.name
-                self.updateConfiguration(node)
-        return super(PyLithApp, self).applyConfiguration(context)
 
-
     def _validate(self, context):
 
         super(PyLithApp, self)._validate(context)



More information about the cig-commits mailing list