From d4d2214595dd81f255119028aadd4bc4e40ad80a Mon Sep 17 00:00:00 2001 From: Logan Hanks Date: Wed, 22 Aug 2012 12:24:22 -0700 Subject: [PATCH] Fix ImportError in Account.delete (oauth2 -> token). --- r2/r2/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/models/account.py b/r2/r2/models/account.py index ae0120c38..2e608293a 100644 --- a/r2/r2/models/account.py +++ b/r2/r2/models/account.py @@ -380,7 +380,7 @@ class Account(Thing): # Remove OAuth2Client developer permissions. This will delete any # clients for which this account is the sole developer. - from r2.models.oauth2 import OAuth2Client + from r2.models.token import OAuth2Client for client in OAuth2Client._by_developer(self): client.remove_developer(self)