Permalink
Browse files

Merge pull request #254 from Jolmberg/python25

Python 2.5 compatibility
  • Loading branch information...
2 parents 525c8dc + 4f3cebd commit fa6244bbc27df3f55bd94ccd6c48c30117875e69 @omab omab committed Feb 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 social_auth/backends/pipeline/misc.py
@@ -11,9 +11,9 @@ def save_status_to_session(request, auth, *args, **kwargs):
try:
if next_entry:
- idx = PIPELINE.index(next_entry)
+ idx = list(PIPELINE).index(next_entry)
else:
- idx = PIPELINE.index(PIPELINE_ENTRY) + 1
+ idx = list(PIPELINE).index(PIPELINE_ENTRY) + 1
except ValueError:
idx = None

0 comments on commit fa6244b

Please sign in to comment.