Merge pull request #1871 from takluyver/allow-none-post-save-hook

Allow None for post_save_hook
This commit is contained in:
Matthias Bussonnier 2016-11-03 17:56:48 -07:00 committed by GitHub
commit 86296f0363

View File

@ -93,7 +93,7 @@ class FileContentsManager(FileManagerMixin, ContentsManager):
self.post_save_hook = _post_save_script
post_save_hook = Any(None, config=True,
post_save_hook = Any(None, config=True, allow_none=True,
help="""Python callable or importstring thereof
to be called on the path of a file just saved.