Skip to content
Myr

Merge pull request #936 from zheller/fix-typo

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

Fix typo in helpers.py

authored by Armin Ronacher · committed by Armin Ronacher · parents 1bddb30, 5addabf · 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
357 unmodified lines
358 #359 # session.setdefault('_flashes', []).append((category, message))360 #361 # This assumed that changes made to mutable structures in the session are362 # are always in sync with the sess on object, which is not true for session362 # are always in sync with the session object, which is not true for session363 # implementations that use external storage for keeping their keys/values.364 flashes = session.get('_flashes', [])365 flashes.append((category, message))366 session['_flashes'] = flashes
488 unmodified lines