diff roundup/backends/locking.py @ 1719:eeb167fb8faf

*** empty log message ***
author Richard Jones <richard@users.sourceforge.net>
date Thu, 03 Jul 2003 23:46:34 +0000
parents 7e0bbefb2a72
children fc52d57c6c3e
line wrap: on
line diff
--- a/roundup/backends/locking.py	Tue Jul 01 08:21:57 2003 +0000
+++ b/roundup/backends/locking.py	Thu Jul 03 23:46:34 2003 +0000
@@ -19,7 +19,7 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-# $Id: locking.py,v 1.6 2003-02-20 22:56:49 richard Exp $
+# $Id: locking.py,v 1.7 2003-07-03 23:43:46 richard Exp $
 
 '''This module provides a generic interface to acquire and release
 exclusive access to a file.
@@ -27,18 +27,6 @@
 It should work on Unix and Windows.
 '''
 
-# portalocker has a 0xffff0000 constant, and I don't need to know about it
-# being positive in 2.4+ :)
-try:
-    x=FutureWarning
-    import warnings
-    warnings.filterwarnings("ignore",
-        r'hex/oct constants > sys\.maxint .*', FutureWarning,
-        'portalocker', 0)
-    del x
-except:
-    pass
-
 import portalocker
 
 def acquire_lock(path, block=1):

Roundup Issue Tracker: http://roundup-tracker.org/