Skip to content

Commit

Permalink
check_data_too_old: simplify the check
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Jun 11, 2021
1 parent 30f9fc9 commit 033b45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexdigest/linters/linter_0028_data_too_old.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def check_data_too_old(database, env=None):
for (table_name, column) in get_time_columns(database):
timestamps = get_boundary_times(database, table_name, column)

if timestamps is None or timestamps.get('min') is None:
if timestamps is None:
continue

diff = now - timestamps.get('min')
Expand Down

0 comments on commit 033b45f

Please sign in to comment.