annotate roundup/dist/command/install_lib.py @ 5729:9ea2ce9d10cf
A few internet references report that etags for the same underlying
resource but with different representation (xml, json ...) should have
different etags.
That is currently not the case. Added code to allow incorporation of
representation info into the etag. By default the representation is
"json", but future patches can pass the representation down and modify
flow to match requested representation.
| author |
John Rouillard <rouilj@ieee.org> |
| date |
Sat, 25 May 2019 14:23:16 -0400 |
| 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)
|