Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Add support for Python 3 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgoclawski
Copy link

Replaces "print" with appropriate call to sys.stdout.write. Similar to self.stdout.write available in BaseCommand.handle method.

Now "django_maven" works with Python 3 as well.

I think it's better than simply changing "print msg" to "print(msg)", since it behaves more like BaseCommand, which doesn't use "print".

Replaces "print" with appropriate call to sys.stdout.write. Similar to self.stdout.write available in BaseCommand.handle method.

Now "django_maven" works with Python 3 as well.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants