Commit 7e270ec7 authored by Tres Seaver's avatar Tres Seaver

Coverage under Python 2.7.

parent 15a8114e
...@@ -168,8 +168,8 @@ class ZConfigURIResolver(object): ...@@ -168,8 +168,8 @@ class ZConfigURIResolver(object):
def __call__(self, uri): def __call__(self, uri):
(scheme, netloc, path, query, frag) = urlparse.urlsplit(uri) (scheme, netloc, path, query, frag) = urlparse.urlsplit(uri)
if sys.version_info[:2] == (2, 6): if sys.version_info[:2] == (2, 6): #pragma NO COVER Python2.6-only
# 2.6 urlparse doesnt understand file URLs and stuffs everything # 2.6 urlparse doesnt understand file URLs and stuffs everything
# into path # into path
(scheme, netloc, path, query, frag (scheme, netloc, path, query, frag
) = urlparse.urlsplit('http:' + path) ) = urlparse.urlsplit('http:' + path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment