[GRASS-git] [OSGeo/grass-addons] 716d82: r.slopeunits: fix import of grass.scripts (#1284)

Markus Neteler noreply at github.com
Wed Jan 22 00:08:27 PST 2025


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 716d827ce825ef48b41cedc17e8801b5973bd05c
      https://github.com/OSGeo/grass-addons/commit/716d827ce825ef48b41cedc17e8801b5973bd05c
  Author: Markus Neteler <neteler at osgeo.org>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M src/raster/r.slopeunits/r.slopeunits.clean/r.slopeunits.clean.py
    M src/raster/r.slopeunits/r.slopeunits.create/r.slopeunits.create.py
    M src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
    M src/raster/r.slopeunits/r.slopeunits.optimize/r.slopeunits.optimize.py

  Log Message:
  -----------
  r.slopeunits: fix import of grass.scripts (#1284)

Fixes

```
Traceback (most recent call last):
  File "/home/neteler/.grass8/addons/r.slopeunits/scripts/r.slopeunits.clean", line 82, in <module>
    import gs.script as gs
ModuleNotFoundError: No module named 'gs'
```

(and related)



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


More information about the grass-commit mailing list