File: debug.py

package info (click to toggle)
python2.4 2.4.1-2sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 47,012 kB
  • ctags: 86,497
  • sloc: ansic: 304,593; python: 268,756; makefile: 3,843; perl: 3,736; lisp: 3,678; sh: 2,206; xml: 894; objc: 747; cpp: 7; sed: 2
file content (9 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import os

# This module should be kept compatible with Python 2.1.

__revision__ = "$Id: debug.py,v 1.4 2004/11/10 22:23:14 loewis Exp $"

# If DISTUTILS_DEBUG is anything other than the empty string, we run in
# debug mode.
DEBUG = os.environ.get('DISTUTILS_DEBUG')