Mercurial > p > roundup > code
comparison tools/migrate-queries.py @ 8562:9c3ec0a5c7fc
chore: remove __future print_funcion from code.
Not needed as of Python 3.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 08 Apr 2026 21:39:40 -0400 |
| parents | fed0f839c260 |
| children |
comparison
equal
deleted
inserted
replaced
| 8561:395c258636ad | 8562:9c3ec0a5c7fc |
|---|---|
| 5 Migrate old queries in the specified instances to Roundup 0.6.0+ by | 5 Migrate old queries in the specified instances to Roundup 0.6.0+ by |
| 6 removing the leading ? from their URLs. 0.6.0+ queries do not carry a | 6 removing the leading ? from their URLs. 0.6.0+ queries do not carry a |
| 7 leading ?; it is added by the 0.6.0 templating, so old queries lead | 7 leading ?; it is added by the 0.6.0 templating, so old queries lead |
| 8 to query URLs with a double leading ?? and a consequent 404 Not Found. | 8 to query URLs with a double leading ?? and a consequent 404 Not Found. |
| 9 ''' | 9 ''' |
| 10 from __future__ import print_function | |
| 11 __author__ = 'James Kew <jkew@mediabright.co.uk>' | 10 __author__ = 'James Kew <jkew@mediabright.co.uk>' |
| 12 | 11 |
| 13 import sys | 12 import sys |
| 14 import roundup.instance | 13 import roundup.instance |
| 15 | 14 |
