python-openid icon indicating copy to clipboard operation
python-openid copied to clipboard

Missing import in openid.extension

Open kilink opened this issue 12 years ago • 1 comments

This seemed too lightweight of an issue for a pull request, but the toMessage method of openid.extension.Extension references the warnings module without it having been imported.

Test case:

import openid.extension

ext = openid.extension.Extension()
ext.toMessage()

Even though this use of the method is deprecated, I consider it a bug.

kilink avatar Feb 28 '12 18:02 kilink

no change is too small for a pull request :)

willnorris avatar Feb 28 '12 21:02 willnorris

This repo is being archived. Closing issue.

timcappalli avatar Jul 24 '23 17:07 timcappalli