sregistry/main/globus/__init__.py
def _tokens_need_update(self):
        '''return boolean True or False if the client tokens (self._auth and
           self._transfer) need updating.
        '''

        # Assumes that auth and transfer have same refresh time

        needs_update = True
        if self.auth is not None:
            if self.auth['expires_at_seconds'] > time.time():
                needs_update = False
        return needs_update
def _tokens_need_update(self):
        '''return boolean True or False if the client tokens (self._auth and
           self._transfer) need updating.
        '''

        # Assumes that auth and transfer have same refresh time

        needs_update = True
        if self.auth is not None:
            if self.auth['expires_at_seconds'] > time.time():
                needs_update = False
        return needs_update
def _tokens_need_update ( self ) : # Assumes that auth and transfer have same refresh time needs_update = True if self . auth is not None : if self . auth [ 'expires_at_seconds' ] > time . time ( ) : needs_update = False return needs_update
return boolean True or False if the client tokens (self._auth and
           self._transfer) need updating.
return boolean True or False if the client tokens ( self . _auth and self . _transfer ) need updating .