[GRASS-git] [OSGeo/grass] dbeb5f: pythonlib: add env variables to all relevant funct...

Anna Petrasova noreply at github.com
Tue Aug 25 18:58:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: dbeb5f36cb320aba1bb22a8384d10524f568728f
      https://github.com/OSGeo/grass/commit/dbeb5f36cb320aba1bb22a8384d10524f568728f
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M lib/python/script/array.py
    M lib/python/script/core.py
    M lib/python/script/db.py
    M lib/python/script/raster.py
    M lib/python/script/raster3d.py
    M lib/python/script/vector.py

  Log Message:
  -----------
  pythonlib: add env variables to all relevant functions (#677)

Passing environment is needed for some functions for fixes of r.import.
The rest of the functions get it for consistency.

The following functions have newly added env parameter:
* core.py: tempfile, tempdir, locn_is_latlong, find_file, list_strings, list_pairs, list_grouped, mapsets
* db.py: db_describe, db_table_exist, db_connection, db_select, db_table_in_vector
* raster.py: raster_history, raster_info
* raster3d.py: raster3d_info
* vector.py: vector_db, vector_layer_db, vector_columns, vector_history, vector_info_topo, vector_info, vector_db_select, vector_what
* array.py




More information about the grass-commit mailing list