Make api module not dependant on any other

This commit is contained in:
Roberto Rosario
2012-01-09 04:47:41 -04:00
parent 4aad4efad3
commit 77400fc42f
+1 -3
View File
@@ -2,8 +2,6 @@ from __future__ import absolute_import
from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.models import ContentType
from .classes import AccessObjectClass
_class_permissions = {} _class_permissions = {}
@@ -27,4 +25,4 @@ def get_classes():
""" """
Return a list of encapsulated classes that have been registered Return a list of encapsulated classes that have been registered
""" """
return [AccessObjectClass.encapsulate(cls) for cls in _class_permissions.keys()] return _class_permissions.keys()