Mercurial > code > home > repos > href
diff jadestache.py @ 28:7c82ffbca5d0
py3 and k8s upgrade
author | drewp@bigasterisk.com |
---|---|
date | Sun, 12 Jul 2020 13:16:33 -0700 |
parents | 80b11112c9e0 |
children | e86642cf7393 |
line wrap: on
line diff
--- a/jadestache.py Sat Dec 24 20:19:23 2016 -0800 +++ b/jadestache.py Sun Jul 12 13:16:33 2020 -0700 @@ -19,7 +19,7 @@ if encoding is None: encoding = self.file_encoding - src = self.unicode(b, encoding) + src = self.str(b, encoding) expanded = pyjade.utils.process(src) self.seen[path] = expanded @@ -45,7 +45,7 @@ def _new_loader(self): return _JadeLoader( file_encoding=self.file_encoding, extension=self.file_extension, - to_unicode=self.unicode, search_dirs=self.search_dirs) + to_unicode=self.str, search_dirs=self.search_dirs) def _make_loader(self): if self._loader is not None: