summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
Diffstat (limited to 'comps.py')
-rw-r--r--comps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/comps.py b/comps.py
index 535021991..493827d20 100644
--- a/comps.py
+++ b/comps.py
@@ -324,7 +324,7 @@ class ComponentSet:
return 1
# XXX preserve backwards compatible behavior
- if self.allLangs:
+ if self.allLangs and "lang" in tags:
tags.remove ("lang")
if os.environ.has_key('LINGUAS'):