diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:02:29 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:27:00 +0100 |
commit | 4e603409f76c14ba7b11c437eac6116a2afce603 (patch) | |
tree | 2d27a197193b6fbde8c1ef7fc47c12154e575d9d /pynslcd/protocol.py | |
parent | 975ee2ce45d050d1f8aafacfe58d035fff339e79 (diff) |
move Search class to search module
Diffstat (limited to 'pynslcd/protocol.py')
-rw-r--r-- | pynslcd/protocol.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pynslcd/protocol.py b/pynslcd/protocol.py index 91feaea..cafda9d 100644 --- a/pynslcd/protocol.py +++ b/pynslcd/protocol.py @@ -1,7 +1,7 @@ # protocol.py - protocol name and number lookup routines # -# Copyright (C) 2011, 2012 Arthur de Jong +# Copyright (C) 2011, 2012, 2013 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -21,13 +21,14 @@ import cache import common import constants +import search attmap = common.Attributes(cn='cn', ipProtocolNumber='ipProtocolNumber') filter = '(objectClass=ipProtocol)' -class Search(common.Search): +class Search(search.LDAPSearch): case_sensitive = ('cn', ) canonical_first = ('cn', ) |