Commit 06ed5ed6 authored by Florent Fourcot's avatar Florent Fourcot

repo: check version before to run update request

parent de6cdce6
......@@ -622,7 +622,8 @@ class Repositories(object):
to_update = []
for name, info in self.get_all_modules_info().iteritems():
if not info.is_local() and info.is_installed():
to_update.append(info)
if self.versions.get(name) != info.version:
to_update.append(info)
if len(to_update) == 0:
progress.progress(1.0, 'All modules are up-to-date.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment