Skip to content

Commit

Permalink
Linter complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhamer-noaa committed Nov 1, 2024
1 parent cbb6673 commit 8f7980a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/idsse_common/idsse/common/http_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def http_ls(url: str, prepend_path: bool = True) -> Sequence[str]:
if not filename.endswith('/'): # Exclude directories
files.append(filename)

except requests.exceptions.RequestException as e:
logger.warning('Unable to query supplied URL: %s', str(e))
except requests.exceptions.RequestException as exp:
logger.warning('Unable to query supplied URL: %s', str(exp))
return []
if prepend_path:
return [os.path.join(url, filename) for filename in files]
Expand Down

0 comments on commit 8f7980a

Please sign in to comment.