| 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 |
|
Sebastian Noack
2018/12/29 03:24:56
Nit: Would you agree that this comment is somewhat
Vasily Kuznetsov
2019/01/02 18:32:28
I would agree, the pragma comment seems informativ
rhowell
2019/01/03 04:42:27
Done.
|
| from urllib.request import urlopen |
| from urllib.error import HTTPError |