diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-07 19:24:49 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-07 19:24:49 +0000 |
| commit | ed8b310479eab10a66ccc347144179fef3b0d5a2 (patch) | |
| tree | c87fe21e45285104615e6982f60569962be6a9b1 /lib/sqlalchemy/sql | |
| parent | 1c73149d5dd477ae882890e155e87f5dd9e4853f (diff) | |
| download | sqlalchemy-ed8b310479eab10a66ccc347144179fef3b0d5a2.tar.gz | |
dont reference self.statement during compilation
Diffstat (limited to 'lib/sqlalchemy/sql')
| -rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 4486c24db..90def1941 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -809,7 +809,7 @@ class SQLCompiler(engine.Compiled): need_pks = self.isinsert and \ not self.inline and \ - not self.statement._returning + not stmt._returning implicit_returning = need_pks and \ self.dialect.implicit_returning and \ |
