Skip to content
Permalink
Browse files
flake8
  • Loading branch information
da2x committed Sep 8, 2015
1 parent e4189f5 commit edb03d66786b67320f5c60af7b65d81b576db5d2
Showing with 1 addition and 2 deletions.
  1. +0 −2 nikola/post.py
  2. +1 −0 nikola/utils.py
@@ -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
@@ -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."""

0 comments on commit edb03d6

Please sign in to comment.