From 55983f327b39bbf265b1ace1baac5a1f58c0f2fe Mon Sep 17 00:00:00 2001 From: Sri Sanketh Uppalapati Date: Sat, 12 Dec 2015 16:55:17 +0530 Subject: Update url.py --- pyramid/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/url.py b/pyramid/url.py index 210163fa5..fd62f0057 100644 --- a/pyramid/url.py +++ b/pyramid/url.py @@ -106,7 +106,7 @@ class URLMethodsMixin(object): else: port = e['SERVER_PORT'] else: - port=str(port) + port = str(port) if ':' in host: host, _ = host.split(':', 1) if scheme == 'https': -- cgit v1.2.3