mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
More pylint
This commit is contained in:
parent
9f696a2e1b
commit
8c9587e10c
@ -58,6 +58,7 @@ except ImportError:
|
||||
|
||||
django_auth_class = None
|
||||
|
||||
|
||||
def django_auth_setup():
|
||||
|
||||
# Versions 1.7 and later of Django don't pull models until
|
||||
@ -78,6 +79,7 @@ def django_auth_setup():
|
||||
|
||||
return django_auth_class
|
||||
|
||||
|
||||
def auth(username, password):
|
||||
'''
|
||||
Simple Django auth
|
||||
@ -102,6 +104,7 @@ def auth(username, password):
|
||||
|
||||
return False
|
||||
|
||||
|
||||
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)))
|
||||
return auth_dict
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user