[entropy.spm] PortagePlugin: when pkg has no keywords, add "**" keyword (instead of "")

This commit is contained in:
Fabio Erculiani
2010-07-22 11:11:27 +02:00
parent e6c027ed51
commit ccc27cc897
@@ -937,7 +937,7 @@ class PortagePlugin(SpmPlugin):
if x.strip()]
if not data['keywords']:
# support for packages with no keywords
data['keywords'].insert(0, "")
data['keywords'].insert(0, "**")
data['keywords'] = set(data['keywords'])
needed_file = os.path.join(meta_dir,