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

Fix the MOTD example #319

Merged
merged 3 commits into from
Oct 21, 2020
Merged

Fix the MOTD example #319

merged 3 commits into from
Oct 21, 2020

Conversation

rahulporuri
Copy link
Contributor

@rahulporuri rahulporuri commented Oct 20, 2020

The fixes were mostly trivial - using logging.FileHandler instead of logging.StreamHandler and using explicit imports instead of implicit imports.

The fixes were mostly trivial - using range instead of xrange, using
open instead of file and using explicit imports instead of implicit
imports

	modified:   examples/MOTD/acme/motd/api.py
	modified:   examples/MOTD/acme/motd/message.py
	modified:   examples/MOTD/acme/motd/motd.py
	modified:   examples/MOTD/acme/motd/motd_plugin.py
	modified:   examples/MOTD/acme/motd/software_quotes/software_quotes_plugin.py
	modified:   examples/MOTD/run.py
for logging the MOTD application

	modified:   run.py
@rahulporuri rahulporuri requested a review from kitchoi October 21, 2020 09:06
Just to stay consistent with what the rest of the codebase is doing.
@rahulporuri rahulporuri merged commit 9ccb3ce into master Oct 21, 2020
@rahulporuri rahulporuri deleted the fix/MOTD_example branch October 21, 2020 10:28
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

Successfully merging this pull request may close these issues.

3 participants