summaryrefslogtreecommitdiff
path: root/requests/async.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-03-17 15:32:50 -0700
committerYuval Adam <yuv.adm@gmail.com>2012-03-17 15:32:50 -0700
commitd9fa3b96ecab96b92ef0258ce71fc8982a310233 (patch)
tree8012508a5d02dca25361c2f3b3e594021e3858bd /requests/async.py
parent780728d467e777066c79cd25cf00b79720c81b65 (diff)
working ep.io deployment
Diffstat (limited to 'requests/async.py')
-rw-r--r--requests/async.py41
1 files changed, 0 insertions, 41 deletions
diff --git a/requests/async.py b/requests/async.py
deleted file mode 100644
index ab04084..0000000
--- a/requests/async.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# -*- coding: utf-8 -*-
-
-"""
- requests.async
- ~~~~~~~~~~~~~~
-
- This module implements the main Requests system, after monkey-patching
- the urllib2 module with eventlet or gevent..
-
- :copyright: (c) 2011 by Kenneth Reitz.
- :license: ISC, see LICENSE for more details.
-"""
-
-
-from __future__ import absolute_import
-
-import urllib
-import urllib2
-
-from urllib2 import HTTPError
-
-
-try:
- import eventlet
- eventlet.monkey_patch()
-except ImportError:
- pass
-
-if not 'eventlet' in locals():
- try:
- from gevent import monkey
- monkey.patch_all()
- except ImportError:
- pass
-
-
-if not 'eventlet' in locals():
- raise ImportError('No Async adaptations of urllib2 found!')
-
-
-from .core import *