diff options
| author | ?ric Araujo <merwok@netwok.org> | 2010-06-26 01:43:30 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2010-06-26 01:43:30 +0200 |
| commit | bdc0c044f10ee2d74581799c4f1aed4f89bdec47 (patch) | |
| tree | 703ece9347374e9eacaa853f081556717275a5f6 /src/distutils2/log.py | |
| parent | ac68a8c17be2d6c1db1ecdcf9b6e10d287ed1c76 (diff) | |
| download | disutils2-bdc0c044f10ee2d74581799c4f1aed4f89bdec47.tar.gz | |
Make all classes new-style classes.
This will make 3.x migration easier (we will catch incompatibilities
sooner thanks to python2.6 -3, e.g. the __hash__ deprecation warning),
it allows us to use properties, super and other niceties, and new-style
classes are instantiated faster.
Diffstat (limited to 'src/distutils2/log.py')
| -rw-r--r-- | src/distutils2/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/distutils2/log.py b/src/distutils2/log.py index 7588570..1f92464 100644 --- a/src/distutils2/log.py +++ b/src/distutils2/log.py @@ -11,7 +11,7 @@ FATAL = 5 import sys -class Log: +class Log(object): def __init__(self, threshold=WARN): self.threshold = threshold |
