Index: abp/filters/sources.py |
=================================================================== |
--- a/abp/filters/sources.py |
+++ b/abp/filters/sources.py |
@@ -21,7 +21,8 @@ |
try: |
from urllib2 import urlopen, HTTPError |
-except ImportError: # The module was renamed in Python 3. |
+except ImportError: # pragma: no py2 cover |
+ # The module was renamed in Python 3 |
from urllib.request import urlopen |
from urllib.error import HTTPError |