14
0
Files
python-pyramid-mako/pyramid2.patch
2021-08-03 12:40:21 +00:00

19 lines
991 B
Diff

Index: pyramid_mako-1.1.0/pyramid_mako/fixtures/helloworld.mak
===================================================================
--- pyramid_mako-1.1.0.orig/pyramid_mako/fixtures/helloworld.mak
+++ pyramid_mako-1.1.0/pyramid_mako/fixtures/helloworld.mak
@@ -1,3 +1,3 @@
## -*- coding: utf-8 -*-
-<%!from pyramid.compat import text_%><% a, b = 'foo', text_('föö', 'utf-8') %>
+<%!from pyramid.util import text_%><% a, b = 'foo', text_('föö', 'utf-8') %>
Hello ${text_('föö', 'utf-8')}
Index: pyramid_mako-1.1.0/pyramid_mako/fixtures/helloworld.mako
===================================================================
--- pyramid_mako-1.1.0.orig/pyramid_mako/fixtures/helloworld.mako
+++ pyramid_mako-1.1.0/pyramid_mako/fixtures/helloworld.mako
@@ -1,3 +1,3 @@
## -*- coding: utf-8 -*-
-<%!from pyramid.compat import text_%><% a, b = 'foo', text_('föö', 'utf-8') %>
+<%!from pyramid.util import text_%><% a, b = 'foo', text_('föö', 'utf-8') %>
Hello ${text_('föö', 'utf-8')}