Removed unneeded imports
This commit is contained in:
@@ -5,22 +5,19 @@ ldap.controls.pwdpolicy - classes for Password Policy controls
|
||||
|
||||
See http://www.python-ldap.org/ for project details.
|
||||
|
||||
$Id: pwdpolicy.py,v 1.3 2014/03/12 21:16:05 stroeder Exp $
|
||||
$Id: pwdpolicy.py,v 1.4 2014/03/12 21:34:07 stroeder Exp $
|
||||
"""
|
||||
|
||||
__all__ = [
|
||||
'ExpirationWarningControl'
|
||||
]
|
||||
|
||||
import struct
|
||||
|
||||
# Imports from python-ldap 2.4+
|
||||
import ldap.controls
|
||||
from ldap.controls import RequestControl,ResponseControl,ValueLessRequestControl,KNOWN_RESPONSE_CONTROLS
|
||||
from ldap.controls.simple import OctetStringInteger
|
||||
|
||||
|
||||
class PasswordExpiringControl(OctetStringInteger):
|
||||
class PasswordExpiringControl(ResponseControl):
|
||||
"""
|
||||
Indicates time in seconds when password will expire
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user