summaryrefslogtreecommitdiff
path: root/django/db/models/query.py
diff options
context:
space:
mode:
authorChristopher Medrela <chris.medrela@gmail.com>2013-11-26 10:43:46 +0100
committerTim Graham <timograham@gmail.com>2013-11-28 08:50:11 -0500
commit7477a4ffde4781f4e84503e66d7f775074089887 (patch)
treed3bbeaa6e808deb92c0fb86cf4ae8163539d84b1 /django/db/models/query.py
parentd1df395f3ae768e495a105db2f85352c44ba1c28 (diff)
Fixed E125 pep8 warnings
Diffstat (limited to 'django/db/models/query.py')
-rw-r--r--django/db/models/query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py
index 1737626d16..58180e1cf9 100644
--- a/django/db/models/query.py
+++ b/django/db/models/query.py
@@ -392,7 +392,7 @@ class QuerySet(object):
fields = self.model._meta.local_fields
with transaction.commit_on_success_unless_managed(using=self.db):
if (connection.features.can_combine_inserts_with_and_without_auto_increment_pk
- and self.model._meta.has_auto_field):
+ and self.model._meta.has_auto_field):
self._batched_insert(objs, fields, batch_size)
else:
objs_with_pk, objs_without_pk = partition(lambda o: o.pk is None, objs)
@@ -1494,7 +1494,7 @@ class RawQuerySet(object):
annotated model instances.
"""
def __init__(self, raw_query, model=None, query=None, params=None,
- translations=None, using=None, hints=None):
+ translations=None, using=None, hints=None):
self.raw_query = raw_query
self.model = model
self._db = using