]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Accommodate tuples for ColumnDefault.__repr__
authorNicolas CANIART <nicolas@caniart.net>
Tue, 31 Oct 2017 15:34:10 +0000 (11:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Oct 2017 15:40:00 +0000 (11:40 -0400)
commitd91edf25115c12be28ee7e2cd5fe557c1dcaf8d1
tree859be5833644aa3962bc5e025a331ea01d6e588f
parenta92f6316edda9a2f7171e8128fbbe41cd97bfc2a
Accommodate tuples for ColumnDefault.__repr__

Fixed bug where ``__repr__`` of :class:`.ColumnDefault` would fail
if the argument were a tuple.  Pull request courtesy Nicolas Caniart.

Change-Id: I08aa2448ef91054c43d6068ac54cedbdf7a83d64
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/1
Fixes: #4126
(cherry picked from commit 5acc9b149a4f7c44b8e7fbe926c0c5de8f13b2c4)
doc/build/changelog/unreleased_11/4126.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py