From e5f552c0fb274c1a02fce51267c563a06c55d334 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 6 Jan 2012 13:59:50 +0000 Subject: user the logging framework, handle exceptions properly and some cleanups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1588 ef36b2f9-881f-0410-afb5-c4e39611909c --- pynslcd/host.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pynslcd/host.py') diff --git a/pynslcd/host.py b/pynslcd/host.py index e81d8dc..fa15b58 100644 --- a/pynslcd/host.py +++ b/pynslcd/host.py @@ -1,7 +1,7 @@ # host.py - lookup functions for host names and addresses # -# Copyright (C) 2011 Arthur de Jong +# Copyright (C) 2011, 2012 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 @@ -18,10 +18,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 USA -import logging - -import constants import common +import constants attmap = common.Attributes(cn='cn', ipHostNumber='ipHostNumber') -- cgit v1.2.3