Skip to content

Commit

Permalink
Fix #3040 -- fix RSS_PATH/translatable setting rebuild issues
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent 2d5dae3 commit 987f186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions nikola/nikola.py
Expand Up @@ -678,6 +678,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.
Expand Down
2 changes: 1 addition & 1 deletion nikola/utils.py
Expand Up @@ -361,7 +361,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."""
Expand Down

0 comments on commit 987f186

Please sign in to comment.