[GRASS-git] [OSGeo/grass] 4e501a: grass.script: Do not change dir to create XY proje...
    Vaclav Petras 
    noreply at github.com
       
    Fri Jun 20 08:49:40 PDT 2025
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4e501a22faffc79569c7d4e17d45ccac755e85ea
      https://github.com/OSGeo/grass/commit/4e501a22faffc79569c7d4e17d45ccac755e85ea
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)
  Changed paths:
    M python/grass/script/core.py
  Log Message:
  -----------
  grass.script: Do not change dir to create XY project (#5918)
Changing the current working directory to create the files might have been inherited from a shell workflow, but it is not needed to create the files, and it just complicates the code. Using pathlib for everything, not a mix of os.mkdir and Path.mkdir. We don't create parents, but only the project and mapset directories.
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