!+=
authorKenneth Reitz <me@kennethreitz.com>
Thu, 24 Feb 2011 06:30:00 +0000 (01:30 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Thu, 24 Feb 2011 06:30:00 +0000 (01:30 -0500)
requests/core.py

index c7726c2..ee5162d 100644 (file)
@@ -124,7 +124,7 @@ class Request(object):
                 cookie_handler = urllib2.HTTPCookieProcessor(cookiejar)
                 _handlers.append(cookie_handler)
 
-            _handlers += get_handlers()
+            _handlers.extend(get_handlers())
             opener = urllib2.build_opener(*_handlers)
             return opener.open