From 6e08b49780ec6ce873d2c40ce013e6f68f180626 Mon Sep 17 00:00:00 2001 From: Keith Mitchell Date: Tue, 11 Feb 2014 13:24:20 -0800 Subject: [PATCH] apiv1.py: Fix whitespace issues --- r2/r2/controllers/apiv1.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/r2/r2/controllers/apiv1.py b/r2/r2/controllers/apiv1.py index fd3b7740a..f10182bcb 100644 --- a/r2/r2/controllers/apiv1.py +++ b/r2/r2/controllers/apiv1.py @@ -26,15 +26,15 @@ from r2.controllers.oauth2 import OAuth2ResourceController, require_oauth2_scope from r2.lib.jsontemplates import IdentityJsonTemplate class APIv1Controller(OAuth2ResourceController): - def pre(self): - self.check_for_bearer_token() + def pre(self): + self.check_for_bearer_token() - def try_pagecache(self): - pass + def try_pagecache(self): + pass - @require_oauth2_scope("identity") - @api_doc(api_section.account) - def GET_me(self): - """Returns the identity of the user currently authenticated via OAuth.""" - resp = IdentityJsonTemplate().data(c.oauth_user) - return self.api_wrapper(resp) + @require_oauth2_scope("identity") + @api_doc(api_section.account) + def GET_me(self): + """Returns the identity of the user currently authenticated via OAuth.""" + resp = IdentityJsonTemplate().data(c.oauth_user) + return self.api_wrapper(resp)