parameters: (self)
docstring: Fetch the info for the next personality, or proceed to the next state if
         there are none left.
docstring_summary: Fetch the info for the next personality, or proceed to the next state if
         there are none left.
docstring_tokens: Fetch the info for the next personality or proceed to the next state if there are none left .
function: def _FetchNextPersonality(self):
      """Fetch the info for the next personality, or proceed to the next state if
         there are none left.
      """
      pid = self.pid_store.GetName('DMX_PERSONALITY_DESCRIPTION')
      if self._CheckPidSupported(pid):
        if self.personalities:
          personality_index = self.personalities.pop(0)
          self.rdm_api.Get(self.universe,
                           self.uid,
                           PidStore.ROOT_DEVICE,
                           pid,
                           self._RDMRequestComplete,
                           [personality_index])
          logging.debug('Sent DMX_PERSONALITY_DESCRIPTION request')
          self.outstanding_pid = pid
        else:
          self._NextState()
      else:
        logging.debug("Skipping pid %s as it's not supported on this device" %
                      pid)
        self._NextState()
function_tokens: def _FetchNextPersonality ( self ) : pid = self . pid_store . GetName ( 'DMX_PERSONALITY_DESCRIPTION' ) if self . _CheckPidSupported ( pid ) : if self . personalities : personality_index = self . personalities . pop ( 0 ) self . rdm_api . Get ( self . universe , self . uid , PidStore . ROOT_DEVICE , pid , self . _RDMRequestComplete , [ personality_index ] ) logging . debug ( 'Sent DMX_PERSONALITY_DESCRIPTION request' ) self . outstanding_pid = pid else : self . _NextState ( ) else : logging . debug ( "Skipping pid %s as it's not supported on this device" % pid ) self . _NextState ( )