yoda/subcommand/update.py
def print_update(self, repo_name, repo_path):
        """Print repository update."""
        color = Color()
        self.logger.info(color.colored(
            "=> [%s] %s" % (repo_name, repo_path), "green"))
        try:
            repo = Repository(repo_path)
            repo.update()
        except RepositoryError as e:
            self.logger.error(e)
            pass
        print("\n")
def print_update(self, repo_name, repo_path):
        color = Color()
        self.logger.info(color.colored(
            "=> [%s] %s" % (repo_name, repo_path), "green"))
        try:
            repo = Repository(repo_path)
            repo.update()
        except RepositoryError as e:
            self.logger.error(e)
            pass
        print("\n")
def print_update ( self , repo_name , repo_path ) : color = Color ( ) self . logger . info ( color . colored ( "=> [%s] %s" % ( repo_name , repo_path ) , "green" ) ) try : repo = Repository ( repo_path ) repo . update ( ) except RepositoryError as e : self . logger . error ( e ) pass print ( "\n" )
Print repository update.
Print repository update .