Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unneeded import.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 17145eef4c4807f0ae385f48cf5cd3655a482154 1 parent a5802b3
@malcolmt malcolmt authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/contrib/auth/models.py
View
1  django/contrib/auth/models.py
@@ -209,7 +209,6 @@ def get_group_permissions(self):
def get_all_permissions(self):
if not hasattr(self, '_perm_cache'):
- import sets
self._perm_cache = set(["%s.%s" % (p.content_type.app_label, p.codename) for p in self.user_permissions.select_related()])
self._perm_cache.update(self.get_group_permissions())
return self._perm_cache
Please sign in to comment.
Something went wrong with that request. Please try again.