Merge "doc: Remove deprecated call to sphinx.util.compat"

This commit is contained in:
Jenkins
2017-09-06 18:14:40 +00:00
committed by Gerrit Code Review

View File

@@ -21,16 +21,16 @@ It is used via a single directive in the .rst file
"""
from docutils import nodes
from docutils.parsers import rst
import importlib
import pkgutil
from sphinx.util.compat import Directive
import nova.notifications.objects
from nova.notifications.objects import base as notification
from nova.objects import base
class VersionedNotificationDirective(Directive):
class VersionedNotificationDirective(rst.Directive):
SAMPLE_ROOT = 'doc/notification_samples/'
TOGGLE_SCRIPT = """