summaryrefslogtreecommitdiffstats
path: root/src/tests/python-test.py
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-09 16:46:05 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-13 18:31:39 +0100
commit1ac368d0962ef8cc83dcd642c7fec8b3cba5b6fe (patch)
tree66565eb01b28ed6b9114b10e8273b3f864696fd2 /src/tests/python-test.py
parentb0f46a3019e0ff4f375ef07682ceb9418751707f (diff)
downloadsssd-1ac368d0962ef8cc83dcd642c7fec8b3cba5b6fe.tar.gz
sssd-1ac368d0962ef8cc83dcd642c7fec8b3cba5b6fe.tar.xz
sssd-1ac368d0962ef8cc83dcd642c7fec8b3cba5b6fe.zip
SSSDConfig: Remove unused exception name
"except ValueError, e:" was the syntax used for what is normally written as "except ValueError as e:" in modern Python. The old syntax is still supported in python2 for backwards compatibility. This means "except ValueError, KeyError:" is not equivalent to "except (ValueError, KeyError):" but to "except ValueError as KeyError:" and variable with name "KeyError" was not used in exception handler. Resolves: https://fedorahosted.org/sssd/ticket/2017 Reviewed-by: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'src/tests/python-test.py')
0 files changed, 0 insertions, 0 deletions