Permalink
Browse files

import ConnectionError

  • Loading branch information...
kennethreitz committed Nov 9, 2011
1 parent 147c241 commit 7192b8022e6273c60de2b94d6e03015eaefd5c75
Showing with 3 additions and 3 deletions.
  1. +2 −2 requests/__init__.py
  2. +1 −1 requests/models.py
View
@@ -28,6 +28,6 @@
from .sessions import session
from .status_codes import codes
from .exceptions import (
- RequestException, AuthenticationError, Timeout, URLRequired,
- TooManyRedirects, HTTPError
+ RequestException, Timeout, URLRequired,
+ TooManyRedirects, HTTPError, ConnectionError
)
View
@@ -444,7 +444,7 @@ def __init__(self):
self.cookies = {}
#: Dictionary of configurations for this request.
- self.config = None
+ self.config = {}
def __repr__(self):

0 comments on commit 7192b80

Please sign in to comment.