Mercurial > p > roundup > code
annotate doc/license.txt @ 5650:e8ca7072c629
Fix Python 3 issues in REST code.
* Need to use .get not .getheader for HTTP headers (see hg commit
fec18298ae02, "Python 3 preparation: HTTP headers handling in
roundup_server.py.").
* Need to use key not cmp with sort (see hg commit 3fa026621f69,
"Python 3 preparation: comparisons.").
* dispatch output must be bytes, not str, otherwise writing it to the
socket (e.g. in roundup-server) will fail.
This fixes issues shown up attempting to access the REST interface
with a browser with Python 3 (as opposed to with the Roundup
testsuite, which also has known REST issues with Python 3).
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Sun, 17 Mar 2019 16:25:36 +0000 |
| parents | f22831a12ab8 |
| children | 8a73b0b12102 |
| rev | line source |
|---|---|
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
1 License |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
2 ======= |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
3 |
|
4612
771e66e8c0b4
Trying to get the license included in the generated website docs.
Bernhard Reiter <bernhard@intevation.de>
parents:
4033
diff
changeset
|
4 Roundup is Free Software under the following license (from the file |
|
771e66e8c0b4
Trying to get the license included in the generated website docs.
Bernhard Reiter <bernhard@intevation.de>
parents:
4033
diff
changeset
|
5 COPYING.txt in the software distribution): |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
6 |
|
4621
f22831a12ab8
Fix path to included COPYING.txt.
Ralf Schlatterbeck <rsc@runtux.com>
parents:
4612
diff
changeset
|
7 .. include:: ../COPYING.txt |
|
4612
771e66e8c0b4
Trying to get the license included in the generated website docs.
Bernhard Reiter <bernhard@intevation.de>
parents:
4033
diff
changeset
|
8 :literal: |
