Skip to content
Permalink
Browse files
merged master
  • Loading branch information
ralsina committed Mar 7, 2016
2 parents a94dec2 + 680450c commit 75f1a95a582f373c8bb3e265ce7c20c24f1f4c39
Showing 3 changed files with 4 additions and 3 deletions.
@@ -17,6 +17,7 @@ Bugfixes
can be re-enabled with ``-v`` option (Issue #2268)
* Fix a format string in ``nikola check`` (Issue #2267)
* Don't crash wordpress importer when posts are "empty" (Issue #2263)
* Don't put untranslated and nonexistant posts in sitemap (Issue #2289)

New in v7.7.6
=============
@@ -158,7 +158,7 @@ def scan_locs():
continue
alternates = []
if post:
for lang in kw['translations']:
for lang in post.translated_to:
alt_url = post.permalink(lang=lang, absolute=True)
if encodelink(loc) == alt_url:
continue
@@ -215,7 +215,7 @@ def scan_locs():
loc = urljoin(base_url, base_path + path)
alternates = []
if post:
for lang in kw['translations']:
for lang in post.translated_to:
alt_url = post.permalink(lang=lang, absolute=True)
if encodelink(loc) == alt_url:
continue
@@ -4,5 +4,5 @@ coverage==4.0.3
pytest==2.9.0
pytest-cov==2.2.1
freezegun==0.3.6
python-coveralls==2.6.0
python-coveralls==2.7.0
colorama>=0.3.4

0 comments on commit 75f1a95

Please sign in to comment.