Skip to content
Snippets Groups Projects
Commit be0c4b48 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Remove unused import, ignore a few linting errors

parent ce78e0ee
No related branches found
No related tags found
No related merge requests found
Pipeline #122970 passed
......@@ -14,7 +14,6 @@ skipped and is expected to have their Sponsors created manually.
from typing import Optional, Tuple
import cerebrum_client
from pyparsing import Or
import structlog
......@@ -128,6 +127,7 @@ class Command(BaseCommand):
help="Use the specified OU ID (internal pk) as the root and only import itself and its children",
)
# pylint: disable=R0912,R0914
def handle(self, *args, **options):
"""Import of Sponsors from Cerebrum."""
excluded_parent_units = OrganizationalUnit.objects.filter(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment