fix for default value changes in ipython/traitlets/pull/332

This commit is contained in:
Ryan Morshead 2016-11-02 11:48:06 -07:00
parent 64d996f820
commit 15a37c9ba7

View File

@ -74,7 +74,7 @@ class ContentsManager(LoggingConfigurable):
help="The base name used when creating untitled directories."
)
pre_save_hook = Any(None, config=True,
pre_save_hook = Any(None, config=True, allow_none=True,
help="""Python callable or importstring thereof
To be called on a contents model prior to save.