diff options
-rw-r--r-- | sjhbuild/config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sjhbuild/config.py b/sjhbuild/config.py index d209a29..d15f476 100644 --- a/sjhbuild/config.py +++ b/sjhbuild/config.py @@ -47,12 +47,12 @@ class Config(jhbuild.config.Config): os.environ['SUGAR_PREFIX'] = self.prefix os.environ['SUGAR_PATH'] = os.path.join(self.prefix, 'share', 'sugar') - os.environ['SUGAR_LOGGER_LEVEL'] = 'debug' + os.environ.setdefault('SUGAR_LOGGER_LEVEL', 'debug') # Enable debug log of the Telepathy components - os.environ['GABBLE_DEBUG'] = 'all' - os.environ['SALUT_DEBUG'] = 'all' - os.environ['STREAM_ENGINE_DEBUG'] = 'all' + os.environ.setdefault('GABBLE_DEBUG', 'all') + os.environ.setdefault('SALUT_DEBUG', 'all') + os.environ.setdefault('STREAM_ENGINE_DEBUG', 'all') # We need to add the gtk-2.0 directory explicitly to # the Python path since '.pth' files (here pygtk.pth) |