]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Make HasDescriptionCode work under py2 6250/head
authorStephen Rosen <sirosen@globus.org>
Fri, 7 May 2021 18:54:32 +0000 (18:54 +0000)
committerStephen Rosen <sirosen@globus.org>
Fri, 7 May 2021 18:54:32 +0000 (18:54 +0000)
commitdbcaeb54e31517fe88f6f8c515f1024002675f13
treed1a39f5fe46a9fe903035a6318f722e70af37a3e
parenta28e425117bfa2651225adc70e9e57f6c24d3dc1
Make HasDescriptionCode work under py2

On py2.7, this class needs to inherit from `object` in order to use
`super()`. Otherwise, it fails a check in `super()` that makes sure
that its first element is a `type`.
lib/sqlalchemy/exc.py