aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-06-19 14:11:34 +0200
committerMilo Casagrande <milo.casagrande@linaro.org>2014-06-19 14:11:34 +0200
commit943f1fb4e716830c11948fce2968c60baa4ef5b3 (patch)
treefaaf9d8f8ec4411fb1e32dc9ca6d43df8087592d
parentef3c6a86ee52413187aa4b04c08ef47059bedaa1 (diff)
Fix typo, add .gitignore.
Change-Id: Iebd63cfac72ad5dedb6042d23ac40495fb31c9dd
-rw-r--r--.gitignore1
-rw-r--r--app/utils/db.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0d20b64
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.pyc
diff --git a/app/utils/db.py b/app/utils/db.py
index abd21ab..3c25ace 100644
--- a/app/utils/db.py
+++ b/app/utils/db.py
@@ -297,7 +297,7 @@ def aggregate(
group_dict['$group'].update(fields)
pipeline.append(group_dict)
- # Make sure we retun the exact number of elements after grouping them.
+ # Make sure we return the exact number of elements after grouping them.
if limit:
pipeline.append({
'$limit': limit