A bunch of undefined references in several files detected by pyflakes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pySAML2 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There are several files with undefined references:
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
src/saml2/
In the attached patch I fixed most of these errores but not all because in a few cases I'm not sure about how to do it.
Changed in pysaml2: | |
status: | Fix Committed → Fix Released |
On 8/4/10 18:26, Lorenzo Gil Sanchez wrote: binding. py:46: undefined name 'FORM_SPEC' binding. py:46: undefined name 'location' binding. py:46: undefined name 'base64' binding. py:46: undefined name 'authen_req' binding. py:47: undefined name 'os' binding. py:58: undefined name 'urllib' binding. py:59: undefined name 'deflate_ and_base64_ encode' binding. py:60: undefined name 'authen_req' binding. py:64: undefined name 'location' binding. py:158: undefined name 'binding' virtual_ org.py: 44: undefined name 'environ' virtual_ org.py: 51: local variable '_ignore' is assigned to but never used binding. py and .../virtual_org.py are work in progress so I'm
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
> src/saml2/
>
> src/saml2/
> src/saml2/
>
src/saml2/
not surprised you find faults.
> src/saml2/ client. py:415: undefined name 'NameID'
Should be saml.NameID
> src/saml2/ client. py:425: undefined name 'session_id'
Also in flux, should probably be sid()
> src/saml2/ saml.py: 148: local variable '_x' is assigned to but never used
That's why it's written as _x.
PyLint which I use uses this notation for variables that are placeholders.
I'm still on vacation :-) but will fix this before or during the weekend.
-- Roland