repositories update: display a message when all modules are up-to-date.

This commit is contained in:
Romain Bignon 2014-11-05 22:08:54 +01:00
commit 4314aa7d69

View file

@ -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