Thanks Dom Please let me know if it works for the other Python versions and when I can pull a new revision.
Cheers Ole -----Original Message----- From: Dominic Lowe [mailto:[email protected]] Sent: Thursday, 5 August 2010 8:39 PM To: gispython.org community projects Cc: Ole Nielsen; Trevor Dhu; Shoaib Burq Subject: Re: [Community] Deprecation warning fixed 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
