diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-11-17 19:42:56 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-11-17 19:45:42 +0800 |
commit | 582be3584761030bfbee13b0c6ea9e6ce2c8a790 (patch) | |
tree | 7de027866475514d227e4e776b63a5e8e06e7153 /youtube_dl/socks.py | |
parent | 073d5bf583e8ff8ae71efca5fc6fae0743ac8961 (diff) |
Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.
See https://github.com/PyCQA/pycodestyle/issues/400
See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
Diffstat (limited to 'youtube_dl/socks.py')
-rw-r--r-- | youtube_dl/socks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/socks.py b/youtube_dl/socks.py index 104807242..63d19b3a5 100644 --- a/youtube_dl/socks.py +++ b/youtube_dl/socks.py @@ -103,6 +103,7 @@ class ProxyType(object): SOCKS4A = 1 SOCKS5 = 2 + Proxy = collections.namedtuple('Proxy', ( 'type', 'host', 'port', 'username', 'password', 'remote_dns')) |