From 4b001bd77e68f9bce65415e3c1b8d7d16f660062 Mon Sep 17 00:00:00 2001 From: Paul Marillonnet Date: Wed, 23 Mar 2022 16:21:01 +0100 Subject: [PATCH] misc: codestyle fixes (#62849) --- setup.py | 6 +++--- src/authentic2_gnm/__init__.py | 1 - src/authentic2_gnm/templatetags/gnm.py | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 65c9f33..89ce709 100755 --- a/setup.py +++ b/setup.py @@ -1,11 +1,11 @@ #!/usr/bin/python -import sys import os import subprocess - -from setuptools import setup, find_packages +import sys from distutils.command.sdist import sdist +from setuptools import find_packages, setup + class eo_sdist(sdist): def run(self): diff --git a/src/authentic2_gnm/__init__.py b/src/authentic2_gnm/__init__.py index bfd6fe5..09b9b65 100644 --- a/src/authentic2_gnm/__init__.py +++ b/src/authentic2_gnm/__init__.py @@ -16,7 +16,6 @@ import django.apps from django.conf import settings - from django_rbac.utils import get_ou_model diff --git a/src/authentic2_gnm/templatetags/gnm.py b/src/authentic2_gnm/templatetags/gnm.py index 9c9b6dd..5f88cb3 100644 --- a/src/authentic2_gnm/templatetags/gnm.py +++ b/src/authentic2_gnm/templatetags/gnm.py @@ -15,6 +15,7 @@ # along with this program. If not, see . import xml.etree.ElementTree as ET + from django import template from django.conf import settings from django.utils.encoding import force_str