Python 3 import error in mongodb.rst example #106

Merged
merged 1 commit into from Mar 4, 2014

Conversation

Projects
None yet
2 participants
@holgi
Contributor

holgi commented Feb 28, 2014

The urlparse module has been reorganized in Python 3 and therefore leads to an import error in the example "init.py" file.

Python 3 import error in mongodb.rst example
The urlparse module has been reorganized in Python 3 and therefore leads to an import error in the example "__init__.py" file.
from gridfs import GridFS
- from urlparse import urlparse

This comment has been minimized.

Show comment Hide comment
@holgi

holgi Feb 28, 2014

Contributor

moved this upwards in the file, to optically glue together the GridFS and pymongo import

@holgi

holgi Feb 28, 2014

Contributor

moved this upwards in the file, to optically glue together the GridFS and pymongo import

tseaver added a commit that referenced this pull request Mar 4, 2014

Merge pull request #106 from holgi/patch-1
Python 3 import error in mongodb.rst example

@tseaver tseaver merged commit 1ad8879 into Pylons:master Mar 4, 2014

@tseaver

This comment has been minimized.

Show comment Hide comment
@tseaver

tseaver Mar 4, 2014

Member

Thanks for the patch!

Member

tseaver commented Mar 4, 2014

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment