From 4314aa7d69f66ac439baaac7b3f8c0c9e974d0f2 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 5 Nov 2014 22:08:54 +0100 Subject: [PATCH] repositories update: display a message when all modules are up-to-date. --- weboob/core/repositories.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weboob/core/repositories.py b/weboob/core/repositories.py index dbf74481..30864a23 100644 --- a/weboob/core/repositories.py +++ b/weboob/core/repositories.py @@ -617,6 +617,10 @@ class Repositories(object): if not info.is_local() and info.is_installed(): to_update.append(info) + if len(to_update) == 0: + progress.progress(1.0, 'All modules are up-to-date.') + return + class InstallProgress(PrintProgress): def __init__(self, n): self.n = n