]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
spacing
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Sep 2012 21:20:15 +0000 (17:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Sep 2012 21:20:15 +0000 (17:20 -0400)
lib/sqlalchemy/sql/compiler.py

index d97c048a9b227cc2e8dffe3edbc618722ae84740..bb1d757bece1857a9d74813fd919d06d5fadd0c0 100644 (file)
@@ -530,17 +530,17 @@ class SQLCompiler(engine.Compiled):
                     cast.typeclause._compiler_dispatch(self, **kwargs))
 
     def visit_over(self, over, **kwargs):
-         return "%s OVER (%s)" % (
-             over.func._compiler_dispatch(self, **kwargs),
-             ' '.join(
+        return "%s OVER (%s)" % (
+            over.func._compiler_dispatch(self, **kwargs),
+            ' '.join(
                  '%s BY %s' % (word, clause._compiler_dispatch(self, **kwargs))
                  for word, clause in (
                      ('PARTITION', over.partition_by),
                      ('ORDER', over.order_by)
                  )
                  if clause is not None and len(clause)
-             )
-         )
+            )
+        )
 
     def visit_extract(self, extract, **kwargs):
         field = self.extract_map.get(extract.field, extract.field)