summaryrefslogtreecommitdiffstats
path: root/ipapython/ssh.py
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2017-01-31 11:23:58 +1000
committerMartin Basti <mbasti@redhat.com>2017-02-06 17:28:39 +0100
commit924794f62b9d3d0f46ca18e4f9338eaed865c03e (patch)
treea3fac806139ec2310bc1aab226cdf8a2838e6857 /ipapython/ssh.py
parentf4088b3a00b3cbd1a0133ac90cba85e501573f76 (diff)
downloadfreeipa-924794f62b9d3d0f46ca18e4f9338eaed865c03e.tar.gz
freeipa-924794f62b9d3d0f46ca18e4f9338eaed865c03e.tar.xz
freeipa-924794f62b9d3d0f46ca18e4f9338eaed865c03e.zip
Fix reference before assignment
In 'store_session_cookie', if the server does not set the session cookie for some reason, the 'session_cookie' variable does not get assigned, resulting in UnboundLocalError. Set an initial value of 'None'. Fixes: https://fedorahosted.org/freeipa/ticket/6636 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython/ssh.py')
0 files changed, 0 insertions, 0 deletions