From 15b8729efc55498df7af6eeb7106cf3d7d6a88c7 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sat, 12 Feb 2011 11:14:32 +0000 Subject: add workaround for translations not getting installed --- 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' -- cgit v0.9.1