]> 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:38:07 +0000 (11:38 -0400)
commit5acc9b149a4f7c44b8e7fbe926c0c5de8f13b2c4
treeb0db47b07cae968b805eb189ed07df11d5dabe7e
parent8965f3021539f3132311d6277aab475d6c44ebbe
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
doc/build/changelog/unreleased_11/4126.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py