Skip to content

Commit

Permalink
Flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stscirij committed Dec 16, 2020
1 parent 9e375e1 commit a49d192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwst/lib/set_telescope_pointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ def calc_wcs_over_time(obsstart, obsend, engdb_url=None, tolerance=60, reduce_fu
try:
pointings = get_pointing(obsstart, obsend, engdb_url=engdb_url,
tolerance=tolerance, reduce_func=reduce_func)
except ValueError as exception:
logger.warning("Cannot get engineering mnemonics from engineering database")
except ValueError:
logger.warning("Cannot get valid engineering mnemonics from engineering database")
raise
if not isinstance(pointings, list):
pointings = [pointings]
Expand Down

0 comments on commit a49d192

Please sign in to comment.