Permalink
Browse files

Todo updated.

  • Loading branch information...
PetrGlad committed Oct 23, 2011
1 parent a2e10fa commit 6b12889e4e784f4af48a0dd6e14c0798516c26c0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/pv/FsLock.py
View
@@ -34,6 +34,7 @@ def release(self): pass
def newLock(dataDir, lockFile):
if os.name != 'posix':
# TODO Use logger for warnings?
+ # TODO Implement Windows locks, see http://code.activestate.com/recipes/65203-portalocker-cross-platform-posixnt-api-for-flock-s/
print (u"Locks are not supported on this os, expected 'posix'."
+ " Implement lock support for '" + os.name + "' or configure prevayler without locks.")
return VoidLock()

0 comments on commit 6b12889

Please sign in to comment.