Skip to content
Permalink
Browse files
Fix #3040 -- fix RSS_PATH/translatable setting rebuild issues
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent bb097b2 commit 9c5bfa0c19409a1349495957720ea750def88dfd
Showing with 2 additions and 1 deletion.
  1. +1 −0 nikola/nikola.py
  2. +1 −1 nikola/utils.py
@@ -715,6 +715,7 @@ def __init__(self, **config):
'posts_section_name',
'posts_section_title',
'front_index_header',
'rss_path',
)
# WARNING: navigation_links SHOULD NOT be added to the list above.
# Themes ask for [lang] there and we should provide it.
@@ -374,7 +374,7 @@ def __unicode__(self):

def __repr__(self):
"""Provide a representation for programmers."""
return '<TranslatableSetting: {0!r}>'.format(self.name)
return '<TranslatableSetting: {0!r} = {1!r}>'.format(self.name, self._inp)

def format(self, *args, **kwargs):
"""Format ALL the values in the setting the same way."""

0 comments on commit 9c5bfa0

Please sign in to comment.