annotate roundup/dist/command/install_lib.py @ 5010:0428d2004a86
Fix exception handling to be python2.5 compatible
The exception handling introduced in commit hg:494d2550:
Display errors containing HTML with RejectRaw (issue2550847)
contained the new style of exception handling that is not compatible
with python2.5. Rework these exception handlers to use the old style to
maintain compatibility with python2.5
| author |
John Kristensen <john@jerrykan.com> |
| date |
Wed, 06 Jan 2016 16:02:34 +1100 |
| parents |
85dfe17c182e |
| children |
42bf0a707763 |
| rev |
line source |
4516
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
1 from roundup.dist.command.build import build_message_files, check_manifest
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
2 from distutils.command.install_lib import install_lib as base
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
3
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
4 class install_lib(base):
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
5
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
6 def run(self):
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
7 check_manifest()
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
8 build_message_files(self)
|
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff
changeset
|
9 base.run(self)
|