Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging is not print #70

Open
nastasi-oq opened this issue Jul 25, 2018 · 0 comments
Open

logging is not print #70

nastasi-oq opened this issue Jul 25, 2018 · 0 comments
Assignees
Milestone

Comments

@nastasi-oq
Copy link
Contributor

logging.warning & Co. not works like print statement.
The strictly semantics is format string followed by a fixed number of arguments declared in the format string.

logging.debug('Node:', rlo, rla)

openquake/man/single/faults.py:237:12: E1205: Too many arguments for logging format string (logging-too-many-args)
openquake/man/single/points.py:234:8: E1205: Too many arguments for logging format string (logging-too-many-args)
openquake/man/single/points.py:235:8: E1205: Too many arguments for logging format string (logging-too-many-args)
openquake/man/single/points.py:238:12: E1205: Too many arguments for logging format string (logging-too-many-args)
@nastasi-oq nastasi-oq added this to the 0.2.2 milestone Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants