diff options
-rw-r--r-- | sjhbuild/config.py | 5 |
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' |