From 24c19c8780379c77dc1cf5567d8cf18009d4d780 Mon Sep 17 00:00:00 2001 From: jonathan vanasco Date: Tue, 5 Nov 2019 11:42:08 -0500 Subject: typo and tabs --- docs/narr/sessions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/narr/sessions.rst') diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst index 8ae20d63e..2da524d4c 100644 --- a/docs/narr/sessions.rst +++ b/docs/narr/sessions.rst @@ -113,7 +113,7 @@ Remember that sessions should be short-lived and thus the number of clients affe During a migration, you may want to catch serialization errors here, and keep using pickle while finding spots in your app that are not storing JSON-serializable objects. You may also want to integrate - a fall-back to picke serialization here as well. + a fall-back to pickle serialization here as well. """ return self.json.dumps(appstruct) @@ -125,8 +125,8 @@ Remember that sessions should be short-lived and thus the number of clients affe try: return pickle.loads(bstruct) except Exception: - # this block should catch at least: - # ValueError, AttributeError, ImportError; but more to be safe + # this block should catch at least: + # ValueError, AttributeError, ImportError; but more to be safe raise ValueError # somewhere in your configuration code -- cgit v1.2.3