This module is already imported at the top, so no point in doing it again.
---
 catalyst/lock.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/catalyst/lock.py b/catalyst/lock.py
index 25d2aa2..71918d6 100644
--- a/catalyst/lock.py
+++ b/catalyst/lock.py
@@ -176,7 +176,6 @@ class LockDir(object):
                        #writemsg("Lockfile obtained\n")
 
        def fcntl_unlock(self):
-               import fcntl
                unlinkfile = 1
                if not os.path.exists(self.lockfile):
                        print "lockfile does not exist '%s'" % self.lockfile
-- 
2.5.2


Reply via email to