Skip to content
Myr

Merge pull request #2475 from greyli/patch-4

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

Fix typo in comment

authored by David Lord · committed by GitHub · parents 3a8cc37, 851ca95 · 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
381 unmodified lines
382 #383 # session.setdefault('_flashes', []).append((category, message))384 #385 # This assumed that changes made to mutable structures in the session are386 # are always in sync with the session object, which is not true for session386 # always in sync with the session object, which is not true for session387 # implementations that use external storage for keeping their keys/values.388 flashes = session.get('_flashes', [])389 flashes.append((category, message))390 session['_flashes'] = flashes
629 unmodified lines