Using "a string".format()?
Closed this issue · 3 comments
cehbrecht commented
Description
In PR #426 the question was raised to use .format()
for string formatting. Maybe also for logging statements ... but we are not sure what the official recommendation is.
If the {} / .format() approach works, can we go with that to be more future proof?
Environment
- operating system:
- Python version:
- PyWPS version:
- source/distribution
- git clone
- Debian
- PyPI
- zip/tar.gz
- other (please specify):
- web server
- Apache/mod_wsgi
- CGI
- other (please specify):
Steps to Reproduce
Additional Information
tomkralidis commented
Note this would also apply to logging statements.
jachym commented
I switchted to .format()
long time ago so yes, I would support this for future code submissions
tomkralidis commented
Fixed in #433