Skip to content

Commit

Permalink
Add appropriate call to __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Sep 21, 2016
1 parent 7bd2a69 commit 9470551
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion nbconvert/exporters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from .export import *
from .base import (export, get_exporter,
ExporterNameError, get_export_names)
from .exporter_locator import export_by_name
from .html import HTMLExporter
from .slides import SlidesExporter
from .templateexporter import TemplateExporter
Expand Down
5 changes: 4 additions & 1 deletion nbconvert/exporters/exporter_locator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Module containing single call export functions."""
"""Deprecated as of 5.0. Module containing hard-coded exporting functions."""

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
Expand All @@ -24,6 +24,9 @@
# Functions
#-----------------------------------------------------------------------------

warnings.warn("""`nbconvert.exporters.exporter_locator` is deprecated in favor of `nbconvert.exporters.base` since nbconvert 5.0.""",
DeprecationWarning)

__all__ = [
'export',
'export_by_name',
Expand Down

0 comments on commit 9470551

Please sign in to comment.