[GRASS-git] [OSGeo/grass] 006f24: grass.app: Use None as default value, hide os.envi...

Vaclav Petras noreply at github.com
Tue Jul 22 13:45:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 006f24eae388f7cd12d4826cd629d22af7958ab1
      https://github.com/OSGeo/grass/commit/006f24eae388f7cd12d4826cd629d22af7958ab1
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M python/grass/app/runtime.py

  Log Message:
  -----------
  grass.app: Use None as default value, hide os.environ (#6101)

Use the same practice as elsewhere and hide os.environ inside the function using None as the default value in the function signature.

Fixes leaking of env vars into doc.

Fixes #6089



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