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

Missing import sys #36

Closed
tkarna opened this issue Dec 4, 2015 · 2 comments
Closed

Missing import sys #36

tkarna opened this issue Dec 4, 2015 · 2 comments

Comments

@tkarna
Copy link

tkarna commented Dec 4, 2015

Missing import sys in lib/pyproj/__init__.py since pull request #30

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-c6ec65490265> in <module>()
----> 1 import pyproj

/home/me/.local/lib/python2.7/site-packages/pyproj-1.9.4-py2.7-linux-x86_64.egg/pyproj/__init__.py in <module>()
     57 
     58 # Python 2/3 compatibility
---> 59 if sys.version_info[0] == 2:            # Python 2
     60    string_types = (basestring,)
     61 else:                                   # Python 3

NameError: name 'sys' is not defined
@micahcochran
Copy link
Collaborator

PR #32 already did this.

@micahcochran
Copy link
Collaborator

PR #32 has been merged. The merging of Travis tests in PR #33 will hopefully make this much less likely to occur.

@jswhit jswhit closed this as completed Dec 15, 2015
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

3 participants