Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pynslcd/host.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-01-06 14:59:50 +0100
committerArthur de Jong <arthur@arthurdejong.org>2012-01-06 14:59:50 +0100
commite5f552c0fb274c1a02fce51267c563a06c55d334 (patch)
tree6ac770ff8eace971fd81d1eec7d02c953292afbc /pynslcd/host.py
parentfea96fdbbc3e01a60fcb0d7e5ec7907987f72345 (diff)
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
Diffstat (limited to 'pynslcd/host.py')
-rw-r--r--pynslcd/host.py6
1 files changed, 2 insertions, 4 deletions
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')