summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-21 16:46:58 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-22 02:51:10 +0100
commit949427c208159f4ac580f547dd5465a70b4751b7 (patch)
treee9eef7d495b04516e6161ab9528f964a8d872cd2 /buildtools/wafsamba
parent01047e0ba8256ff12345222517a905fd9d66a8b5 (diff)
downloadsamba-949427c208159f4ac580f547dd5465a70b4751b7.tar.gz
samba-949427c208159f4ac580f547dd5465a70b4751b7.tar.bz2
samba-949427c208159f4ac580f547dd5465a70b4751b7.zip
python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 8c42966057..ebe8fba1f7 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -37,7 +37,7 @@ if os.environ.get('WAF_NOTHREADS') == '1':
LIB_PATH="shared"
-os.putenv('PYTHONUNBUFFERED', '1')
+os.environ['PYTHONUNBUFFERED'] = '1'
if Constants.HEXVERSION < 0x105019: