[GRASS-git] [OSGeo/grass] 5ccff0: modules: Replace bare except by Exception (#1578)

ShubhamSwati noreply at github.com
Fri Mar 17 06:17:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 5ccff03ffb84bb18b869f6a87ba00ae0ad56d16e
      https://github.com/OSGeo/grass/commit/5ccff03ffb84bb18b869f6a87ba00ae0ad56d16e
  Author: ShubhamSwati <81865950+ShubhamSwati at users.noreply.github.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M .flake8
    M scripts/i.in.spotvgt/i.in.spotvgt.py
    M scripts/r.unpack/r.unpack.py

  Log Message:
  -----------
  modules: Replace bare except by Exception (#1578)

i.in.spotvgt and r.unpack now use Exception instead of bare except. This fixes Flake8 warning E722 (do not use bare 'except').

---------

Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>




More information about the grass-commit mailing list