Skip to content

Commit

Permalink
chore(storage): fix lint error in _signing.py module (googleapis#140)
Browse files Browse the repository at this point in the history
Fixes googleapis#139 

This PR fixes a lint error that recently started occurring on master out of the blue.
### How to verify

Run the lint check on master:

    $ nox -f noxfile.py -s lint
  • Loading branch information
HemangChothani authored and cojenco committed Oct 13, 2021
1 parent 947579e commit e67f405
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions google/cloud/storage/_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ def get_expiration_seconds_v4(expiration):

if seconds > SEVEN_DAYS:
raise ValueError(
"Max allowed expiration interval is seven days (%d seconds)".format(
SEVEN_DAYS
)
"Max allowed expiration interval is seven days {}".format(SEVEN_DAYS)
)

return seconds
Expand Down

0 comments on commit e67f405

Please sign in to comment.