From dda179c56128b3c2d8c2d4f82b73763676a4170e Mon Sep 17 00:00:00 2001 From: Ilja Orlovs Date: Mon, 22 Sep 2014 11:30:07 +0100 Subject: [PATCH] Added passage in --- cyclone/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyclone/web.py b/cyclone/web.py index 7f2e4d09d9..6d6fd61e02 100644 --- a/cyclone/web.py +++ b/cyclone/web.py @@ -1080,7 +1080,7 @@ def require_setting(self, name, feature="this feature"): def reverse_url(self, name, *args, **kwargs): """Alias for `Application.reverse_url`.""" - return self.application.reverse_url(name, *args) + return self.application.reverse_url(name, *args, **kwargs) def compute_etag(self): """Computes the etag header to be used for this request. @@ -2155,7 +2155,7 @@ def reverse(self, *args, **kwargs): if not isinstance(a, (unicode_type, bytes_type)): a = str(a) converted_args.append(escape.url_escape(utf8(a))) - + rv = rv % tuple(converted_args) if kwargs: