Update rewrite.py

This commit is contained in:
Tim Nyborg
2014-12-16 12:00:23 +00:00
parent c0536d3b74
commit 23ee6bd2cf

View File

@@ -878,10 +878,8 @@ class MapUrlIn(object):
self.domain_application = None
self.domain_controller = None
self.domain_function = None
if base.map_hyphen:
arg0 = self.harg0.replace('-', '_')
else:
arg0 = self.harg0
self.map_hyphen = base.map_hyphen
arg0 = self.harg0
if not base.exclusive_domain and base.applications and arg0 in base.applications:
self.application = arg0
elif not base.exclusive_domain and arg0 and not base.applications: