]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 16 Oct 2016 14:55:22 +0000 (10:55 -0400)
commitcc74f434fdeb38df8f9897aa9e119fa840a86786
treec5d36dc79485939edc7c15e125a05279eb1260ea
parent4a8522c706678373d79c22e1109bb1d72f79fe87
Remove some legacy dead code from the declared_attr logic

The second 'if' condition was never called because the original
condition always returns.

(cherry picked from commit d18221c542bf4d7381be2afdcd4c098698ff8eae)
lib/sqlalchemy/ext/declarative/api.py