openid/python-openid

Missing import in openid.extension

kilink opened this issue · 2 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.

no change is too small for a pull request :)

This repo is being archived. Closing issue.