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/command/cmd.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/command/cmd.py')
| -rw-r--r-- | src/distutils2/command/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/distutils2/command/cmd.py b/src/distutils2/command/cmd.py index e94263b..57ffdb8 100644 --- a/src/distutils2/command/cmd.py +++ b/src/distutils2/command/cmd.py @@ -19,7 +19,7 @@ try: except ImportError: from distutils2._backport.shutil import make_archive -class Command: +class Command(object): """Abstract base class for defining command classes, the "worker bees" of the Distutils. A useful analogy for command classes is to think of them as subroutines with local variables called "options". The options |
