summaryrefslogtreecommitdiff
path: root/pynslcd/mypidfile.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-01-06 13:59:50 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-01-06 13:59:50 +0000
commite5f552c0fb274c1a02fce51267c563a06c55d334 (patch)
tree6ac770ff8eace971fd81d1eec7d02c953292afbc /pynslcd/mypidfile.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/mypidfile.py')
-rw-r--r--pynslcd/mypidfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pynslcd/mypidfile.py b/pynslcd/mypidfile.py
index e179e16..e386f3e 100644
--- a/pynslcd/mypidfile.py
+++ b/pynslcd/mypidfile.py
@@ -1,7 +1,7 @@
# mypidfile.py - functions for properly locking a PIDFile
#
-# Copyright (C) 2010, 2011 Arthur de Jong
+# Copyright (C) 2010, 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,8 +18,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-import fcntl
import errno
+import fcntl
import os