forgot to change obsolete property "pathInfo" to new name "options"...
This commit is contained in:
parent
c402d848f7
commit
4d1d4fcf4a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue