(self, notarealarg=None)
Recuring tasks for installed repositories.
Recuring tasks for installed repositories.
Recuring tasks for installed repositories .
async def recuring_tasks_installed(self, notarealarg=None):
        """Recuring tasks for installed repositories."""
        self.logger.debug(
            "Starting recuring background task for installed repositories"
        )
        self.system.status.background_task = True
        self.logger.debug(self.github.ratelimits.remaining)
        self.logger.debug(self.github.ratelimits.reset_utc)
        for repository in self.repositories:
            if repository.status.installed:
                try:
                    await repository.update_repository()
                    repository.logger.debug("Information update done.")
                except AIOGitHubException:
                    self.system.status.background_task = False
                    self.data.write()
                    self.logger.debug(
                        "Recuring background task for installed repositories done"
                    )
                    return
        self.system.status.background_task = False
        self.data.write()
        self.logger.debug("Recuring background task for installed repositories done")
async def recuring_tasks_installed ( self , notarealarg = None ) : self . logger . debug ( "Starting recuring background task for installed repositories" ) self . system . status . background_task = True self . logger . debug ( self . github . ratelimits . remaining ) self . logger . debug ( self . github . ratelimits . reset_utc ) for repository in self . repositories : if repository . status . installed : try : await repository . update_repository ( ) repository . logger . debug ( "Information update done." ) except AIOGitHubException : self . system . status . background_task = False self . data . write ( ) self . logger . debug ( "Recuring background task for installed repositories done" ) return self . system . status . background_task = False self . data . write ( ) self . logger . debug ( "Recuring background task for installed repositories done" )