Ole,
Many thanks for the fix. I've created a ticket as I'd like to test it
against python 2.5 and 2.6.
(The warning is new in Python 2.6 )
Glad you are finding OWSLib useful.
Cheers,
Dom
On 05/08/10 05:57, Ole Nielsen wrote:
Dear OWSLib developers
We are using the library successfully with Geoserver, but get the
following annoying warning when calling WebCoverageService():
/usr/local/lib/python2.6/dist-packages/OWSLib-0.3.2beta-py2.6.egg/owslib/coverage/wcsBase.py:33:
DeprecationWarning: object.__new__() takes no parameters
obj=object.__new__(self, url, xml ,cookies)
Fixing this was a simple matter of removing those arguments (as
suggested in the warning).
I have attached the updated version of wcsBase.py for your consideration.
We are using OWSLib from the repository with SVN revision number 1672
and Python version 2.6x
Cheers
Ole
Dr Ole Nielsen
Numerical Modeller
Australia-Indonesia Facility for Disaster Reduction
Mobile: +62 811 820 4637 | Phone: +62 21 398 30088 x1007 | Fax: +62 21
398 30068
cid:[email protected]
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community