original_docstring:  Retrieves latest information from the Netgear router.
              Returns boolean if scanning successful. 
docstring: Retrieves latest information from the Netgear router.
  Returns boolean if scanning successful.
docstring_tokens: Retrieves latest information from the Netgear router . Returns boolean if scanning successful .
code: def _update_info(self):
          """ Retrieves latest information from the Netgear router.
              Returns boolean if scanning successful. """
          if not self.success_init:
              return
  
          with self.lock:
              # if date_updated is None or the date is too old we scan for
              # new data
              if not self.date_updated or \
                 datetime.now() - self.date_updated > MIN_TIME_BETWEEN_SCANS:
  
                  self.logger.info("Netgear:Scanning")
  
                  self.last_results = self._api.get_attached_devices()
  
                  self.date_updated = datetime.now()
  
                  return
  
              else:
                  return
code_tokens: def _update_info ( self ) : if not self . success_init : return with self . lock : if not self . date_updated or datetime . now ( ) - self . date_updated > MIN_TIME_BETWEEN_SCANS : self . logger . info ( "Netgear:Scanning" ) self . last_results = self . _api . get_attached_devices ( ) self . date_updated = datetime . now ( ) return else : return
short_docstring: Retrieves latest information from the Netgear router.
short_docstring_tokens: Retrieves latest information from the Netgear router .
comment: """ Retrieves latest information from the Netgear router.
              Returns boolean if scanning successful. """$SEP$# if date_updated is None or the date is too old we scan for$SEP$# new data