Changes in Source/Python/install.py [50f9ca6:0f89116] in flex_extract.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/install.py

    r50f9ca6 r0f89116  
    285285
    286286    if c.install_target and c.install_target != 'local':
    287         if not c.ecgid or not c.ecuid:
    288             print('Please enter your ECMWF user id and group id '
    289                   ' with command line options --ecuid --ecgid')
     287        if not c.ecgid or not c.ecuid or \
     288           not c.gateway or not c.destination:
     289            print('Please enter your ECMWF user id and group id as well ' +
     290                  'as the \nname of the local gateway and the ectrans ' +
     291                  'destination ')
     292            print('with command line options --ecuid --ecgid \
     293                   --gateway --destination')
    290294            print('Try "' + sys.argv[0].split('/')[-1] + \
    291295                  ' -h" to print usage information')
    292             print('Please consult ecaccess documentation or ECMWF user '
    293                   'support for further details.\n')
     296            print('Please consult ecaccess documentation or ECMWF user \
     297                   support for further details')
    294298            sys.exit(1)
    295         if not c.gateway or not c.destination:
    296             print('WARNING: Parameters GATEWAY and DESTINATION were '
    297                   'not properly set for working on ECMWF server. \n'
    298                   'There will be no transfer of output files to the '
    299                   'local gateway server possible!')
     299
    300300        if not c.installdir:
    301301            c.installdir = '${HOME}'
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG