Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sjhbuild/config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sjhbuild/config.py b/sjhbuild/config.py
index e451f93..1b557c9 100644
--- a/sjhbuild/config.py
+++ b/sjhbuild/config.py
@@ -86,8 +86,9 @@ class Config(jhbuild.config.Config):
os.environ['PYLINTRC'] = os.path.join(self.base_dir, 'scripts',
'data', 'pylintrc')
- if 'DBUS_SESSION_BUS_ADDRESS' in os.environ:
- del os.environ['DBUS_SESSION_BUS_ADDRESS']
+ os.environ.pop('DBUS_SESSION_BUS_ADDRESS', '')
+ # if set, it prevents translations from getting installed
+ os.environ.pop('LINGUAS', '')
if not 'SUGAR_PROFILE' in os.environ:
os.environ['SUGAR_PROFILE'] = 'default'