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

csw.py getrecords deprecation warning ends program #74

Closed
paknorton opened this issue Aug 5, 2013 · 1 comment
Closed

csw.py getrecords deprecation warning ends program #74

paknorton opened this issue Aug 5, 2013 · 1 comment
Assignees

Comments

@paknorton
Copy link

When the getrecords procedure is called (from pyGDP) a deprecation warning is printed and then the program exits instead of continuing execution.

@ghost ghost assigned tomkralidis Aug 5, 2013
tomkralidis added a commit that referenced this issue Aug 5, 2013
@tomkralidis
Copy link
Member

cc @kwilcox

Fixed in master branch. FYI I wanted to change this to:

warnings.warn('....', DeprecationWarning)

...which works in Python 2.6, but not 2.7 (DeprecationWarning is ignored in 2.7), so just implemented as plain old warnings.warn with no category arg.

Thanks to @sgillies for convo/advice in irc.

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