diff options
author | sean <none@none> | 2006-06-21 16:29:15 +0000 |
---|---|---|
committer | sean <none@none> | 2006-06-21 16:29:15 +0000 |
commit | bb1fde2042f389e7a21f070b11fdbe7c5c5cd535 (patch) | |
tree | d0f8748f9bbdf5f8867bc509d0159414069b000e /lib/sqlalchemy/ext/assignmapper.py | |
parent | 6668720a5a932a706434f50b216d80a194b21b8b (diff) | |
download | sqlalchemy-bb1fde2042f389e7a21f070b11fdbe7c5c5cd535.tar.gz |
Replaced tab spacing with plain spaces.
Diffstat (limited to 'lib/sqlalchemy/ext/assignmapper.py')
-rw-r--r-- | lib/sqlalchemy/ext/assignmapper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/assignmapper.py b/lib/sqlalchemy/ext/assignmapper.py index f7b093e9d..29cc70b3e 100644 --- a/lib/sqlalchemy/ext/assignmapper.py +++ b/lib/sqlalchemy/ext/assignmapper.py @@ -10,9 +10,9 @@ def monkeypatch_query_method(ctx, class_, name): def monkeypatch_objectstore_method(ctx, class_, name): def do(self, *args, **kwargs): session = ctx.current - if name == "flush": - # flush expects a list of objects - self = [self] + if name == "flush": + # flush expects a list of objects + self = [self] return getattr(session, name)(self, *args, **kwargs) setattr(class_, name, do) |