summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-11-09 01:53:08 +0000
committerMichael Trier <mtrier@gmail.com>2008-11-09 01:53:08 +0000
commit4cd99f5536077718b0f80670508d7310f47b4a25 (patch)
treea380a685b3fd73a2a4ff5806c3ead31bec9b9f87 /lib/sqlalchemy/sql
parenta8c308f34974befb02351d1788298c9b24f8265c (diff)
downloadsqlalchemy-4cd99f5536077718b0f80670508d7310f47b4a25.tar.gz
Global propigate -> propagate change to correct spelling. Additionally found a couple of insures that should be ensure.
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/compiler.py2
-rw-r--r--lib/sqlalchemy/sql/expression.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index 851bc30ac..80a4d7f52 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -475,7 +475,7 @@ class DefaultCompiler(engine.Compiled):
correlate_froms = set(sql._from_objects(*froms))
- # TODO: might want to propigate existing froms for select(select(select))
+ # TODO: might want to propagate existing froms for select(select(select))
# where innermost select should correlate to outermost
# if existingfroms:
# correlate_froms = correlate_froms.union(existingfroms)
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 2838cc896..2fa3fc36f 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2791,7 +2791,7 @@ class _ColumnClause(_Immutable, ColumnElement):
return _BindParamClause(self.name, obj, type_=self.type, unique=True)
def _make_proxy(self, selectable, name=None, attach=True):
- # propigate the "is_literal" flag only if we are keeping our name,
+ # propagate the "is_literal" flag only if we are keeping our name,
# otherwise its considered to be a label
is_literal = self.is_literal and (name is None or name == self.name)
c = _ColumnClause(name or self.name, selectable=selectable, type_=self.type, is_literal=is_literal)