1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Fix the oauth import to work correctly with the
python-oauth Debian package.
Forwarded: not-needed
Author: Michael Ziegler <diese-addy@funzt-halt.net>
Index: python-django-piston-0.2.2/piston/authentication.py
===================================================================
--- python-django-piston-0.2.2.orig/piston/authentication.py 2010-02-25 19:40:29.000000000 +0100
+++ python-django-piston-0.2.2/piston/authentication.py 2010-02-25 19:41:10.000000000 +0100
@@ -1,4 +1,4 @@
-import oauth
+from oauth import oauth
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth.models import User, AnonymousUser
from django.contrib.auth.decorators import login_required
Index: python-django-piston-0.2.2/piston/store.py
===================================================================
--- python-django-piston-0.2.2.orig/piston/store.py 2010-02-25 19:40:29.000000000 +0100
+++ python-django-piston-0.2.2/piston/store.py 2010-02-25 19:41:10.000000000 +0100
@@ -1,4 +1,4 @@
-import oauth
+from oauth import oauth
from models import Nonce, Token, Consumer
|