[GRASS-git] [OSGeo/grass] 7df156: grass.script: Reduce use of env in create_location...

Vaclav Petras noreply at github.com
Fri Feb 16 08:13:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7df156fab57fa0072709510c0c290afe1899ba69
      https://github.com/OSGeo/grass/commit/7df156fab57fa0072709510c0c290afe1899ba69
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M python/grass/script/core.py
    A python/grass/script/tests/grass_script_core_location_test.py

  Log Message:
  -----------
  grass.script: Reduce use of env in create_location (#3428)

* Reduces use of runtime environment in the create_location function (gisenv call removed).
* Reduces scope of gisrc which simplifies cleanup.
* Adds 4 tests for basic creation of the location (project).



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list