Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Sep 8, 2015
1 parent e4189f5 commit edb03d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions nikola/post.py
Expand Up @@ -707,8 +707,6 @@ def remaining_paragraph_count(self):
def source_link(self, lang=None):
"""Return absolute link to the post's source."""
ext = self.source_ext(True)


link = "/" + self.destination_path(lang=lang, extension=ext, sep='/')
link = utils.encodelink(link)
return link
Expand Down
1 change: 1 addition & 0 deletions nikola/utils.py
Expand Up @@ -805,6 +805,7 @@ def encodelink(iri):
# A very slightly safer version of zip.extractall that works on
# python < 2.6


class UnsafeZipException(Exception):

"""Exception for unsafe zip files."""
Expand Down

0 comments on commit edb03d6

Please sign in to comment.