Browse Source

[desktop] Fix oauth_authentication_time metric decorator typo in liboauth

xq262144 9 years ago
parent
commit
00bf745afe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/liboauth/src/liboauth/backend.py

+ 1 - 1
desktop/libs/liboauth/src/liboauth/backend.py

@@ -48,7 +48,7 @@ LOG = logging.getLogger(__name__)
 
 
 class OAuthBackend(DesktopBackendBase):
 class OAuthBackend(DesktopBackendBase):
 
 
-  @metrics.oauth_authentication_time
+  @liboauth.metrics.oauth_authentication_time
   def authenticate(self, access_token):
   def authenticate(self, access_token):
     username = access_token['screen_name']
     username = access_token['screen_name']
     password = access_token['oauth_token_secret']
     password = access_token['oauth_token_secret']