Skip to content
Myr

Avoid always-false statement

Before adoption: this commit came in with the history the project adopted, so no landing records it.

See https://github.com/pallets/flask/pull/1849/files#r79371299

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent dbeed24 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/helpers.py+1 added-1 removed
557 unmodified lines
558 if cache_timeout is not None:559 rv.cache_control.max_age = cache_timeout560 rv.expires = int(time() + cache_timeout)561562 if add_etags and filename is not None and file is None:562 if add_etags and filename is not None:563 from warnings import warn564565 try:566 rv.set_etag('%s-%s-%s' % (
376 unmodified lines