Opened 9 years ago
Last modified 9 years ago
#12047 closed enhancement
Replace print statement with print function — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.6 |
Component: | general | Version: | |
Severity: | normal | Keywords: | python3 |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The replacement of print
statement with the print
function was done in #11600. However, there are a few instances of the print
statement that remain in the codebase:
- tags/trac-1.1.4/contrib/cgi-bin/trac.cgi@:27,30-36#L18
- tags/trac-1.1.4/contrib/cgi-bin/trac.fcgi@:24-30,35#L18
- tags/trac-1.1.4/trac/perm.py@:677,684#L665
- tags/trac-1.1.4/trac/admin/console.py@:113,332,348,398#L96
- tags/trac-1.1.4/contrib/l10n_diff_index.py@:95#L87
- tags/trac-1.1.4/doc/utils/runepydoc.py@:22,36#L17
- tags/trac-1.1.4/trac/web/auth.py@:328,334,338,396,402#L317
- tags/trac-1.1.4/Makefile@:305,563#L299
- tags/trac-1.1.4/contrib/trac-pre-commit-hook@:39,52,66#L37
- tags/trac-1.1.4/trac/admin/templates/deploy_trac.cgi@:39,42-48#L35
- tags/trac-1.1.4/trac/admin/templates/deploy_trac.fcgi@:36-42,47#L35
The regex \bprint\b[^(]
was used to locate above instances.
Note:
See TracTickets
for help on using tickets.