From 1d06e642a4a9b5c202af20af87f3bd3cabaa2c6c Mon Sep 17 00:00:00 2001 From: Chris Lenk Date: Mon, 9 Apr 2018 09:55:29 -0400 Subject: [PATCH] Bump and pin nbsphinx version --- requirements.txt | 2 +- stix2/workbench.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index d6abb63..32e08f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ bumpversion ipython -nbsphinx>=0.3.0 +nbsphinx==0.3.2 pre-commit pytest pytest-cov diff --git a/stix2/workbench.py b/stix2/workbench.py index 9e31b50..b47968e 100644 --- a/stix2/workbench.py +++ b/stix2/workbench.py @@ -131,7 +131,7 @@ def _setup_workbench(): for obj_type in STIX_OBJS: new_class_dict = { '__new__': _constructor_wrapper(obj_type), - '__doc__': 'Workbench wrapper around the `{0} `__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS) + '__doc__': 'Workbench wrapper around the `{0} `__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS) } new_class = type(obj_type.__name__, (), new_class_dict)