diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2011-02-12 11:14:32 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2011-02-12 11:14:32 (GMT) |
commit | 15b8729efc55498df7af6eeb7106cf3d7d6a88c7 (patch) | |
tree | 5c243f043bfb72461f9ae4db59f8d445f7fa0985 | |
parent | 97a08d8337438276171ac3906fe8db9f256ef11f (diff) |
add workaround for translations not getting installed
-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' |