[Python-modules-commits] r11862 - in packages/python-django-piston/trunk/debian/patches (3 files)

svedrin-guest at users.alioth.debian.org svedrin-guest at users.alioth.debian.org
Mon Feb 22 17:59:28 UTC 2010


    Date: Monday, February 22, 2010 @ 17:59:26
  Author: svedrin-guest
Revision: 11862

fix the import for the oauth module

Added:
  packages/python-django-piston/trunk/debian/patches/01-fix-import-authentication.diff
  packages/python-django-piston/trunk/debian/patches/02-fix-import-store.diff
Modified:
  packages/python-django-piston/trunk/debian/patches/series

Added: packages/python-django-piston/trunk/debian/patches/01-fix-import-authentication.diff
===================================================================
--- packages/python-django-piston/trunk/debian/patches/01-fix-import-authentication.diff	                        (rev 0)
+++ packages/python-django-piston/trunk/debian/patches/01-fix-import-authentication.diff	2010-02-22 17:59:26 UTC (rev 11862)
@@ -0,0 +1,12 @@
+# Fix the oauth import.
+
+Index: python-django-piston-0.2.2/piston/authentication.py
+===================================================================
+--- python-django-piston-0.2.2.orig/piston/authentication.py	2010-02-22 18:55:57.000000000 +0100
++++ python-django-piston-0.2.2/piston/authentication.py	2010-02-22 18:56:07.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

Added: packages/python-django-piston/trunk/debian/patches/02-fix-import-store.diff
===================================================================
--- packages/python-django-piston/trunk/debian/patches/02-fix-import-store.diff	                        (rev 0)
+++ packages/python-django-piston/trunk/debian/patches/02-fix-import-store.diff	2010-02-22 17:59:26 UTC (rev 11862)
@@ -0,0 +1,12 @@
+# Fix the oauth import.
+
+Index: python-django-piston-0.2.2/piston/store.py
+===================================================================
+--- python-django-piston-0.2.2.orig/piston/store.py	2010-02-22 18:56:58.000000000 +0100
++++ python-django-piston-0.2.2/piston/store.py	2010-02-22 18:57:03.000000000 +0100
+@@ -1,4 +1,4 @@
+-import oauth
++from oauth import oauth
+ 
+ from models import Nonce, Token, Consumer
+ 

Modified: packages/python-django-piston/trunk/debian/patches/series
===================================================================
--- packages/python-django-piston/trunk/debian/patches/series	2010-02-22 17:58:54 UTC (rev 11861)
+++ packages/python-django-piston/trunk/debian/patches/series	2010-02-22 17:59:26 UTC (rev 11862)
@@ -0,0 +1,2 @@
+02-fix-import-store.diff
+01-fix-import-authentication.diff




More information about the Python-modules-commits mailing list