diff options
| author | ?ric Araujo <merwok@netwok.org> | 2010-08-15 06:09:25 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2010-08-15 06:09:25 +0200 |
| commit | 2df5aac7284fcbe3b004175ab706d51575add28d (patch) | |
| tree | 3609bd837cfc9bd4df799a6c7ba4c7d69c028f93 /src/distutils2/command | |
| parent | b3322844a07e4c773dbbbc4e88a2fd3fb92ded6e (diff) | |
| download | disutils2-2df5aac7284fcbe3b004175ab706d51575add28d.tar.gz | |
Hook system improvements.
- Tweak some comments/docstrings.
- Allow giving callables as hooks in addition to dotted names.
- Don?t let errors pass silently (possibly needs an option).
- Add two tests from Konrad.
- Simplify tests.
Diffstat (limited to 'src/distutils2/command')
| -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 462bbd2..17a4379 100644 --- a/src/distutils2/command/cmd.py +++ b/src/distutils2/command/cmd.py @@ -53,7 +53,7 @@ class Command(object): # Pre and post command hooks are run just before or just after the command # itself. They are simple functions that receive the command instance. They - # should be specified as dotted strings. + # are specified as callable objects or dotted strings (for lazy loading). pre_hook = None post_hook = None |
