diff options
author | Pete <pete@coderpete.net> | 2012-03-21 15:57:07 -0700 |
---|---|---|
committer | Pete <pete@coderpete.net> | 2012-03-21 15:57:07 -0700 |
commit | 8c2f147c5b682a83f6f87397750971b9dba7395e (patch) | |
tree | d9f847e326e427854826b795446dd4225207eceb /pecan/jsonify.py | |
parent | 7f4dcb1b13a5025ee3e8858223d2979bb7a2b842 (diff) | |
download | pecan-8c2f147c5b682a83f6f87397750971b9dba7395e.tar.gz |
Removed forgotten note-to-self.
Diffstat (limited to 'pecan/jsonify.py')
-rw-r--r-- | pecan/jsonify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pecan/jsonify.py b/pecan/jsonify.py index 9ae2ac4..7324ed4 100644 --- a/pecan/jsonify.py +++ b/pecan/jsonify.py @@ -92,7 +92,7 @@ class GenericJSON(JSONEncoder): props[key] = getattr(obj, key) return props elif isinstance(obj, ResultProxy): - props = dict(rows=list(obj), count=obj.rowcount) ## PCH: memory issues on huge resultsets? + props = dict(rows=list(obj), count=obj.rowcount) if props['count'] < 0: props['count'] = len(props['rows']) return props |