def _add_url_rule(url_or_urls):
old = current_app._got_first_request<EOL>current_app._got_first_request = False<EOL>if isinstance(url_or_urls, six.string_types):<EOL><INDENT>url_or_urls = [url_or_urls]<EOL><DEDENT>map(lambda url: current_app.add_url_rule(url, '<STR_LIT>', view),<EOL>url_or_urls)<EOL>current_app._got_first_request = old<EOL>
Register URL rule to application URL map.