Commit 8d0e005d authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

astakos: Fix pep8/pyflakes issues

parent 63ca3d77
......@@ -15,28 +15,13 @@
import logging
from functools import wraps
from django import http
from django.utils import simplejson as json
from django.forms.models import model_to_dict
from django.core.validators import validate_email, ValidationError
from snf_django.lib import api
from snf_django.lib.api import faults
from import settings
from astakos.admin import stats
from import AstakosUser, get_latest_terms
from import make_local_user
logger = logging.getLogger(__name__)
AUTH_URL = settings.astakos_services \
AUTH_URL = settings.astakos_services[
except (IndexError, KeyError) as e:
logger.error("Failed to load Astakos Auth URL: %s", e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment