Skip to content

Commit

Permalink
Missing docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed May 30, 2017
1 parent cb5fe79 commit 94972b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/compile/rest/__init__.py
Expand Up @@ -355,5 +355,6 @@ class RemoveDocinfo(docutils.transforms.Transform):
default_priority = 870

def apply(self):
"""Remove docinfo nodes."""
for node in self.document.traverse(docutils.nodes.docinfo):
node.parent.remove(node)

0 comments on commit 94972b2

Please sign in to comment.