]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove some legacy dead code from the declared_attr logic
authorPierre Jaury <pierre@jaury.eu>
Sun, 16 Oct 2016 14:45:54 +0000 (16:45 +0200)
committerPierre Jaury <pierre@jaury.eu>
Sun, 16 Oct 2016 14:45:54 +0000 (16:45 +0200)
commitd18221c542bf4d7381be2afdcd4c098698ff8eae
tree438b5f5e427cef7c9a74486adb5d6d0bcdce1136
parent055b207a9f80e1899a30cce8d11e79eb1136612a
Remove some legacy dead code from the declared_attr logic

The second 'if' condition was never called because the original
condition always returns.
lib/sqlalchemy/ext/declarative/api.py