Fix ImportError in Account.delete (oauth2 -> token).

This commit is contained in:
Logan Hanks
2012-08-22 12:24:22 -07:00
parent 8e2737dab4
commit d4d2214595

View File

@@ -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)