Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed relative import #1011

Merged
merged 1 commit into from

2 participants

@kuyan

For Python 3 support.

@kuyan kuyan Fixed relative import.
For Python 3 support.
ed360dc
@kuyan

It's worth noting that, without the fix, nose reports eight failures, finishing with an ImportError, whereas with this fix, failures jump to 34 errors and 28 failures.

@kennethreitz

thanks!

@kennethreitz kennethreitz merged commit fee7a7a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 16, 2012
  1. @kuyan

    Fixed relative import.

    kuyan authored
    For Python 3 support.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  requests/sessions.py
View
2  requests/sessions.py
@@ -19,7 +19,7 @@
from .packages.urllib3.poolmanager import PoolManager
-from adapters import HTTPAdapter
+from .adapters import HTTPAdapter
def merge_kwargs(local_kwarg, default_kwarg):
"""Merges kwarg dictionaries.
Something went wrong with that request. Please try again.