Explorar o código

Merge pull request #324 from xq262144/master

[desktop] Fix oauth_authentication_time metric decorator typo in liboauth
Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
82c0e00ccd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):
 
-  @metrics.oauth_authentication_time
+  @liboauth.metrics.oauth_authentication_time
   def authenticate(self, access_token):
     username = access_token['screen_name']
     password = access_token['oauth_token_secret']