Changeset 1624
- Timestamp:
- 08/22/09 05:54:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/__init__.py
r1614 r1624 406 406 #__revision__ = ' unknown ' 407 407 casapath=os.environ["CASAPATH"].split() 408 revinfo=casapath[0]+'/'+casapath[1]+'/python/2.5/asap/svninfo.txt' 408 #svninfo.txt path 409 if os.path.isdir(casapath[0]+'/'+casapath[1]+'/python/2.5/asap'): 410 # for casa developer environment (linux or darwin) 411 revinfo=casapath[0]+'/'+casapath[1]+'/python/2.5/asap/svninfo.txt' 412 else: 413 # for end-user environments 414 if casapath[1]=='darwin': 415 revinfo=casapath[0]+'/Resources/python/asap/svninfo.txt' 416 else: 417 revinfo=casapath[0]+'/lib/python2.5/asap/svninfo.txt' 409 418 if os.path.isfile(revinfo): 410 419 f = file(revinfo)
Note:
See TracChangeset
for help on using the changeset viewer.