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

Replace print method with logging module #48

Open
raukadah opened this issue Jan 16, 2020 · 0 comments
Open

Replace print method with logging module #48

raukadah opened this issue Jan 16, 2020 · 0 comments
Assignees

Comments

@raukadah
Copy link
Contributor

While looking at the code base it appears that for each info printed to user is derived from print statement. We can replace it with logging module.

[raukadah@ironman genpass]$ git grep 'print'
password.py:        print("No records found")
password.py:        print(table)
password.py:        print("No records found")
password.py:        print("No records found")
password.py:        print("No records found")
password.py:        print(spass)

logging module: https://docs.python.org/3/library/logging.html

@mayurilahane mayurilahane self-assigned this Mar 22, 2020
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