remove duplicate capabilities
This commit is contained in:
parent
1a32711fa6
commit
92c8873369
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue