mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
More pylint
This commit is contained in:
parent
9f696a2e1b
commit
8c9587e10c
@ -58,6 +58,7 @@ except ImportError:
|
|||||||
|
|
||||||
django_auth_class = None
|
django_auth_class = None
|
||||||
|
|
||||||
|
|
||||||
def django_auth_setup():
|
def django_auth_setup():
|
||||||
|
|
||||||
# Versions 1.7 and later of Django don't pull models until
|
# Versions 1.7 and later of Django don't pull models until
|
||||||
@ -78,6 +79,7 @@ def django_auth_setup():
|
|||||||
|
|
||||||
return django_auth_class
|
return django_auth_class
|
||||||
|
|
||||||
|
|
||||||
def auth(username, password):
|
def auth(username, password):
|
||||||
'''
|
'''
|
||||||
Simple Django auth
|
Simple Django auth
|
||||||
@ -102,6 +104,7 @@ def auth(username, password):
|
|||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def retrieve_auth_entries(u=None):
|
def retrieve_auth_entries(u=None):
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -163,4 +166,3 @@ def retrieve_auth_entries(u=None):
|
|||||||
|
|
||||||
log.debug('django auth_dict is {0}'.format(repr(auth_dict)))
|
log.debug('django auth_dict is {0}'.format(repr(auth_dict)))
|
||||||
return auth_dict
|
return auth_dict
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user