Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed some 5-space indents that were introduced with multidb.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b8db443437ae4d24331bd33ab3a91037f0927b2d 1 parent 127b7fd
Alex Gaynor authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/contenttypes/generic.py
4  django/contrib/contenttypes/generic.py
@@ -52,9 +52,9 @@ def get_content_type(self, obj=None, id=None, using=None):
52 52
         # using this model
53 53
         ContentType = get_model("contenttypes", "contenttype")
54 54
         if obj:
55  
-             return ContentType.objects.db_manager(obj._state.db).get_for_model(obj)
  55
+            return ContentType.objects.db_manager(obj._state.db).get_for_model(obj)
56 56
         elif id:
57  
-             return ContentType.objects.db_manager(using).get_for_id(id)
  57
+            return ContentType.objects.db_manager(using).get_for_id(id)
58 58
         else:
59 59
             # This should never happen. I love comments like this, don't you?
60 60
             raise Exception("Impossible arguments to GFK.get_content_type!")

0 notes on commit b8db443

Please sign in to comment.
Something went wrong with that request. Please try again.