Commit 92c88733 authored by Romain Bignon's avatar Romain Bignon

remove duplicate capabilities

parent 1a32711f
......@@ -270,7 +270,7 @@ class Repository(object):
else:
m = ModuleInfo(module.name)
m.version = self.get_tree_mtime(module_path)
m.capabilities = [c.__name__ for c in module.iter_caps()]
m.capabilities = list(set([c.__name__ for c in module.iter_caps()]))
m.description = module.description
m.maintainer = module.maintainer
m.license = module.license
......
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