Repurpose the installtion app for it's original intent which was let apps report on their dependencies and if they were met. This commit removes two more Python dependencies: GitPython and psutil.
This commit is contained in:
@@ -8,14 +8,11 @@ from permissions.models import Permission
|
||||
|
||||
from .classes import PropertyNamespace
|
||||
from .permissions import PERMISSION_INSTALLATION_DETAILS
|
||||
from .models import Installation
|
||||
|
||||
|
||||
def namespace_list(request):
|
||||
Permission.objects.check_permissions(request.user, [PERMISSION_INSTALLATION_DETAILS])
|
||||
|
||||
Installation().get_properties()
|
||||
|
||||
return render_to_response('appearance/generic_list.html', {
|
||||
'object_list': PropertyNamespace.get_all(),
|
||||
'title': _('Installation property namespaces'),
|
||||
@@ -26,8 +23,6 @@ def namespace_list(request):
|
||||
def namespace_details(request, namespace_id):
|
||||
Permission.objects.check_permissions(request.user, [PERMISSION_INSTALLATION_DETAILS])
|
||||
|
||||
Installation().get_properties()
|
||||
|
||||
namespace = PropertyNamespace.get(namespace_id)
|
||||
object_list = namespace.get_properties()
|
||||
title = _('Installation namespace details for: %s') % namespace.label
|
||||
|
||||
Reference in New Issue
Block a user