(file) Return to localize.py CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/localize.py between version 1.29 and 1.30

version 1.29, 2020/08/14 17:41:25 version 1.30, 2021/07/20 21:24:09
Line 74  PERL_FXNS_B = """sub get
Line 74  PERL_FXNS_B = """sub get
 } }
 1;""" 1;"""
  
 PY_BINPATH = '#!/usr/bin/env python\n'  PY_BINPATH = '#!/usr/bin/env python3\n'
   
   PY_ALL = f"__all__ = [ 'DPError', 'DPMissingParameterError', 'DRMSParams' ]"
  
 PY_ERROR_CLASSES = """ PY_ERROR_CLASSES = """
 class DPError(Exception): class DPError(Exception):
Line 908  def writeParamsFiles(base, cfile, mfile,
Line 910  def writeParamsFiles(base, cfile, mfile,
             print(PY_BINPATH, file=pyout)             print(PY_BINPATH, file=pyout)
             print(PREFIX, file=pyout)             print(PREFIX, file=pyout)
             print('# This file contains a set of constants - one for each configuration parameter.\n', file=pyout)             print('# This file contains a set of constants - one for each configuration parameter.\n', file=pyout)
               print(PY_ALL, file=pyout)
             print(''.join(pyConstSection), file=pyout)             print(''.join(pyConstSection), file=pyout)
  
             print(PY_ERROR_CLASSES, file=pyout)             print(PY_ERROR_CLASSES, file=pyout)


Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

Karen Tian
Powered by
ViewCVS 0.9.4