Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem with FileLock on win32/python2.5 #27

Open
lpetrov opened this issue Oct 14, 2009 · 2 comments
Open

Problem with FileLock on win32/python2.5 #27

lpetrov opened this issue Oct 14, 2009 · 2 comments

Comments

@lpetrov
Copy link

lpetrov commented Oct 14, 2009

Fails when threading is not imported.

@lpetrov
Copy link
Author

lpetrov commented Oct 14, 2009

Patch:

# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- D:\LPetrov\workspace\datealike\externals\notification\lockfile.py
+++ D:\LPetrov\workspace\datealike\externals\notification\Copy of lockfile.py
@@ -47,7 +47,9 @@
             AlreadyUnlocked - File was not locked.
             NotMyLock - File was locked but not by the current thread/process
 """
+import thread
 
+#from __future__ import division
 
 import sys
 import socket

@adamn
Copy link

adamn commented Feb 23, 2010

Lockfile has been updated:

http://pypi.python.org/pypi/lockfile

pip install -U lockfile

Might help. It would be great to add lockfile as a requirement for this application and delete lockfile.py

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants