geopython/pywps

Using "a string".format()?

Closed this issue · 3 comments

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

Note this would also apply to logging statements.

I switchted to .format() long time ago so yes, I would support this for future code submissions

Fixed in #433