summaryrefslogtreecommitdiff
path: root/src/python/stdlib/distutils/debug.py
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-18 16:04:51 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-18 16:04:51 (GMT)
commit9c39875ef09d439ef51716dba091188f72977f5e (patch)
treefb0fd27a1bcd3e54a1913852c23aa137ee5eb30b /src/python/stdlib/distutils/debug.py
parentbc8af4e2101ac93bdc51b59ee64fa43ecb2442f3 (diff)
downloadpowder-9c39875ef09d439ef51716dba091188f72977f5e.zip
powder-9c39875ef09d439ef51716dba091188f72977f5e.tar.gz
...
Diffstat (limited to 'src/python/stdlib/distutils/debug.py')
-rw-r--r--src/python/stdlib/distutils/debug.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/python/stdlib/distutils/debug.py b/src/python/stdlib/distutils/debug.py
new file mode 100644
index 0000000..e3c33ea
--- /dev/null
+++ b/src/python/stdlib/distutils/debug.py
@@ -0,0 +1,7 @@
+import os
+
+__revision__ = "$Id: debug.py 68943 2009-01-25 22:09:10Z tarek.ziade $"
+
+# If DISTUTILS_DEBUG is anything other than the empty string, we run in
+# debug mode.
+DEBUG = os.environ.get('DISTUTILS_DEBUG')