Skip to content

Commit

Permalink
Fixing docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 25, 2016
1 parent d63d8e3 commit facb0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/misc/post_encryption.py
Expand Up @@ -51,9 +51,9 @@ def wrap_encrypt(path, password):
outf.write(data)

def _handle_post_compiled(self, data):
"""Encrypt post if password is set."""
dest = data['dest']
post = data['post']
"""Encrypt post if password is set."""
if post.meta('password'):
# TODO: get rid of this feature one day (v8?; warning added in v7.3.0.)
utils.LOGGER.warn("The post {0} is using the `password` attribute, which may stop working in the future.")
Expand Down

0 comments on commit facb0e4

Please sign in to comment.