removed the call to remove()
authorYang Zhang <y_z@mit.edu>
Thu, 31 Jul 2008 01:33:49 +0000 (21:33 -0400)
committerYang Zhang <y_z@mit.edu>
Thu, 31 Jul 2008 01:33:49 +0000 (21:33 -0400)
svn path=/trunk/packages/sipb-xen-base/; revision=790

files/usr/share/python-support/sipb-xen-base/invirt/common.py

index b193ecc..5f669ba 100644 (file)
@@ -1,6 +1,5 @@
 import unittest
 from fcntl import flock, LOCK_EX, LOCK_UN
 import unittest
 from fcntl import flock, LOCK_EX, LOCK_UN
-from os import remove
 
 class struct(object):
     'A simple namespace object.'
 
 class struct(object):
     'A simple namespace object.'
@@ -57,7 +56,6 @@ def with_lock_file(path):
             flock(f, LOCK_EX)
             try: return func()
             finally: flock(f, LOCK_UN)
             flock(f, LOCK_EX)
             try: return func()
             finally: flock(f, LOCK_UN)
-        remove(path)
         return g
     return wrapper
 
         return g
     return wrapper