Skip to content

Commit

Permalink
[#2636] comment for the scary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Sep 22, 2015
1 parent d2c1b84 commit 6296d88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/pastertemplates/__init__.py
Expand Up @@ -51,6 +51,8 @@ class CkanextTemplate(Template):
def check_vars(self, vars, cmd):
vars = Template.check_vars(self, vars, cmd)

# workaround for a paster issue https://github.com/ckan/ckan/issues/2636
# this is only used from a short-lived paster command
reload(sys)
sys.setdefaultencoding('utf-8')

Expand Down

0 comments on commit 6296d88

Please sign in to comment.