ajack 2004/06/30 17:59:17 Modified: python/gump/model Tag: CleanUp project.py Log: More places wher variable expansion is needed... Revision Changes Path No revision No revision 1.85.2.14 +4 -2 gump/python/gump/model/project.py Index: project.py =================================================================== RCS file: /home/cvs/gump/python/gump/model/project.py,v retrieving revision 1.85.2.13 retrieving revision 1.85.2.14 diff -u -r1.85.2.13 -r1.85.2.14 --- project.py 28 Jun 2004 21:17:00 -0000 1.85.2.13 +++ project.py 1 Jul 2004 00:59:17 -0000 1.85.2.14 @@ -326,12 +326,14 @@ elif self.hasDomChild('home'): home=self.getDomChild('home') if hasDomAttribute(home,'nested'): - nested=getDomAttributeValue(home,'nested') + nested=self.expandVariables( + getDomAttributeValue(home,'nested')) self.home=os.path.abspath( os.path.join(self.getModule().getWorkingDirectory(), nested)) elif hasDomAttribute(home,'parent'): - parent=getDomAttributeValue(home,'parent') + parent=self.expandVariables( + getDomAttributeValue(home,'parent')) self.home=os.path.abspath( os.path.join(workspace.getBaseDirectory(),parent)) else:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]