Remove redundant parentheses

Change-Id: I30e2866e047432dc1f35a8c157edff63a4b6b14f
This commit is contained in:
suhaiming 2020-12-22 06:03:31 +00:00
parent 437cb6ef96
commit 61fe90fa0e

View File

@ -177,7 +177,7 @@ class URLMap(paste.urlmap.URLMap):
for (domain, app_url), app in self.applications:
if domain and domain != host and domain != host + ':' + port:
continue
if (path_info == app_url or path_info.startswith(app_url + '/')):
if path_info == app_url or path_info.startswith(app_url + '/'):
return app, app_url
return None, None