changeset 1768:52c5fb040ac4

remove some unused / unimplemented lock/unlock code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 02 Sep 2012 23:26:47 +0200
parents 54be46b8a0b4
children a759603dd5d4
files MoinMoin/util/filesys.py
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/util/filesys.py	Sun Sep 02 21:53:25 2012 +0200
+++ b/MoinMoin/util/filesys.py	Sun Sep 02 23:26:47 2012 +0200
@@ -232,14 +232,3 @@
             errors.append((srcname, dstname, why))
     if errors:
         raise EnvironmentError(str(errors))
-
-# Code could come from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
-
-# we currently do not support locking
-LOCK_EX = LOCK_SH = LOCK_NB = 0
-
-def lock(file, flags):
-    raise NotImplementedError
-
-def unlock(file):
-    raise NotImplementedError