Subversion Repositories slepc-dev

Rev

Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2116 Rev 2121
Line 36... Line 36...
        elif l[1] == 'PETSC_VERSION_MINOR':
        elif l[1] == 'PETSC_VERSION_MINOR':
          minor = l[2]
          minor = l[2]
        elif l[1] == 'PETSC_VERSION_SUBMINOR':
        elif l[1] == 'PETSC_VERSION_SUBMINOR':
          subminor = l[2]
          subminor = l[2]
    f.close()
    f.close()
    VERSION = major + '.' + minor + '.' + subminor
    VERSION = major + '.' + minor
  except:
  except:
    sys.exit('ERROR: file error while reading PETSC version')
    sys.exit('ERROR: file error while reading PETSC version')