Fixes PEP8 E401 CI error

This commit is contained in:
Jeremy Stretch 2016-07-08 22:56:54 -04:00
parent 8dd6112a4b
commit 498eb50f56

View File

@ -51,7 +51,8 @@ except ImportError:
# LDAP configuration (optional) # LDAP configuration (optional)
if LDAP_CONFIGURED: if LDAP_CONFIGURED:
try: try:
import ldap, django_auth_ldap import ldap
import django_auth_ldap
# Prepend LDAPBackend to the default ModelBackend # Prepend LDAPBackend to the default ModelBackend
AUTHENTICATION_BACKENDS = [ AUTHENTICATION_BACKENDS = [
'django_auth_ldap.backend.LDAPBackend', 'django_auth_ldap.backend.LDAPBackend',