Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit committed Jan 10, 2025
1 parent 6e3a9a1 commit 8945ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ per-file-ignores =
python/grass/pygrass/vector/__init__.py: E402
python/grass/temporal/datetime_math.py: E722
python/grass/temporal/spatial_topology_dataset_connector.py: E722
python/grass/temporal/temporal_algebra.py: E722
python/grass/temporal/temporal_granularity.py: E722
# Current benchmarks/tests are changing sys.path before import.
# Possibly, a different approach should be taken there anyway.
Expand Down
4 changes: 2 additions & 2 deletions python/grass/temporal/temporal_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@

try:
from ply import lex, yacc
except:
except ImportError:
pass

import copy
Expand Down Expand Up @@ -2857,7 +2857,7 @@ def p_t_var_expr_td_hash(self, t) -> None:
map_i.condition_value.append(boolname)
else:
map_i.condition_value = boolname
except:
except (IndexError, AttributeError):
self.msgr.fatal(
"Error: the given expression does not contain a correct time "
"difference object."
Expand Down

0 comments on commit 8945ecd

Please sign in to comment.