summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/ddl.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-03-02 16:40:07 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-03-02 16:40:07 -0500
commit7090ca9b0951c1a59d6d66fc70c003dcc4ddf239 (patch)
treed73027a6182375b4cce28ec01c30b2b135cc8ce2 /lib/sqlalchemy/engine/ddl.py
parent45ba7b6e0ee842787cf776d6fde5150cda6f2cce (diff)
downloadsqlalchemy-7090ca9b0951c1a59d6d66fc70c003dcc4ddf239.tar.gz
cleanup
Diffstat (limited to 'lib/sqlalchemy/engine/ddl.py')
-rw-r--r--lib/sqlalchemy/engine/ddl.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sqlalchemy/engine/ddl.py b/lib/sqlalchemy/engine/ddl.py
index 53d7f3340..6035e2901 100644
--- a/lib/sqlalchemy/engine/ddl.py
+++ b/lib/sqlalchemy/engine/ddl.py
@@ -39,13 +39,13 @@ class SchemaGenerator(DDLBase):
(
(not self.dialect.sequences_optional or
not sequence.optional) and
- (
- not self.checkfirst or
- not self.dialect.has_sequence(
- self.connection,
- sequence.name,
- schema=sequence.schema)
- )
+ (
+ not self.checkfirst or
+ not self.dialect.has_sequence(
+ self.connection,
+ sequence.name,
+ schema=sequence.schema)
+ )
)
def visit_metadata(self, metadata):
@@ -160,7 +160,7 @@ class SchemaDropper(DDLBase):
((not self.dialect.sequences_optional or
not sequence.optional) and
(not self.checkfirst or
- self.dialect.has_sequence(
+ self.dialect.has_sequence(
self.connection,
sequence.name,
schema=sequence.schema))