Trigger the --include-dev suggestion for any keywords from dev profiles, even
authorZac Medico <zmedico@gentoo.org>
Sun, 16 Nov 2008 20:44:27 +0000 (20:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 16 Nov 2008 20:44:27 +0000 (20:44 -0000)
if those keywords also belong to stable profiles.

svn path=/main/trunk/; revision=11970

bin/repoman

index 8289bcc9ada64a01614fb2559ea715ee6ddbceaf..34f88557fa05a51bd6f5a438f277aca586fd0d02 100755 (executable)
@@ -674,7 +674,7 @@ else:
 def dev_keywords(profiles):
        """
        Create a set of KEYWORDS values that exist in 'dev'
-       profiles and not in 'stable' profiles. These are used
+       profiles. These are used
        to trigger a message notifying the user when they might
        want to add the --include-dev option.
        """
@@ -688,7 +688,6 @@ def dev_keywords(profiles):
                        arch_set.add(arch)
 
        dev_keywords = type_arch_map.get('dev', set())
-       dev_keywords.difference_update(type_arch_map.get('stable', set()))
        dev_keywords.update(['~' + arch for arch in dev_keywords])
        return frozenset(dev_keywords)