Skip to content

Commit fd9b4de

Browse files
committed
Cleanup. Added requirements.txt. Follow latest aiohttp error classes.
1 parent aa715a2 commit fd9b4de

File tree

3 files changed

+12
-57
lines changed

3 files changed

+12
-57
lines changed

elude/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ def fetch_one(method, url, timeout, connector=None):
1717
r = yield from asyncio.wait_for(aiohttp.request(method, url, connector=connector), timeout)
1818
text = yield from r.text()
1919
return r, text
20-
except (aiohttp.ConnectionError, aiohttp.ProxyConnectionError, aiohttp.HttpException, asyncio.TimeoutError, ValueError):
20+
except (aiohttp.ClientError, aiohttp.ProxyConnectionError, asyncio.TimeoutError, ValueError):
2121
return None, None # TODO retry attempts

elude/servers-.py

-56
This file was deleted.

requirements.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
aiohttp==0.14.2
2+
beautifulsoup4==4.3.2
3+
html5lib==0.999
4+
lxml==3.4.1
5+
numpy==1.9.1
6+
pandas==0.15.2
7+
pycosat==0.6.0
8+
python-dateutil==2.4.0
9+
pytz==2014.10
10+
requests==2.5.1
11+
six==1.9.0

0 commit comments

Comments
 (0)