forgot to change obsolete property "pathInfo" to new name "options"...

This commit is contained in:
Philip Eisenlohr 2014-01-16 21:40:54 +00:00
parent c402d848f7
commit 4d1d4fcf4a
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ class Marc(Solver):
#-------------------------- #--------------------------
import os,damask.environment import os,damask.environment
MSCpath = damask.environment.Environment(rootRelation).pathInfo['MSC_ROOT'] MSCpath = damask.environment.Environment(rootRelation).options['MSC_ROOT']
for release,subdirs in sorted(self.releases.items(),reverse=True): for release,subdirs in sorted(self.releases.items(),reverse=True):
for subdir in subdirs: for subdir in subdirs:
@ -41,7 +41,7 @@ class Marc(Solver):
#-------------------------- #--------------------------
import os,damask.environment import os,damask.environment
MSCpath = damask.environment.Environment(rootRelation).pathInfo['MSC_ROOT'] MSCpath = damask.environment.Environment(rootRelation).options['MSC_ROOT']
if len(releases) == 0: releases = self.releases.keys() if len(releases) == 0: releases = self.releases.keys()
if type(releases) is not list: releases = [releases] if type(releases) is not list: releases = [releases]
@ -60,7 +60,7 @@ class Marc(Solver):
#-------------------------- #--------------------------
import os,damask.environment import os,damask.environment
MSCpath = damask.environment.Environment(rootRelation).pathInfo['MSC_ROOT'] MSCpath = damask.environment.Environment(rootRelation).options['MSC_ROOT']
if len(release) == 0: release = self.version(rootRelation) if len(release) == 0: release = self.version(rootRelation)
path = '%s/marc%s/tools'%(MSCpath,release) path = '%s/marc%s/tools'%(MSCpath,release)