Skip to content

Commit af6e42d

Browse files
committedFeb 7, 2015
fix reload for py3
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 420fdf2 commit af6e42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ def load_messages(themes, translations, default_lang):
615615
try:
616616
translation = __import__('messages_' + lang)
617617
# If we don't do the reload, the module is cached
618-
reload(translation)
618+
_reload(translation)
619619
if sorted(translation.MESSAGES.keys()) !=\
620620
sorted(english.MESSAGES.keys()) and \
621621
lang not in warned:

0 commit comments

Comments
 (0)
Please sign in to comment.