From: Yang Zhang Date: Thu, 31 Jul 2008 01:33:49 +0000 (-0400) Subject: removed the call to remove() X-Git-Tag: sipb-xen-base/8.12~6 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-base.git/commitdiff_plain/9bf898972c7dd0916a262626a082dc0d930c52ef removed the call to remove() svn path=/trunk/packages/sipb-xen-base/; revision=790 --- diff --git a/files/usr/share/python-support/sipb-xen-base/invirt/common.py b/files/usr/share/python-support/sipb-xen-base/invirt/common.py index b193ecc..5f669ba 100644 --- a/files/usr/share/python-support/sipb-xen-base/invirt/common.py +++ b/files/usr/share/python-support/sipb-xen-base/invirt/common.py @@ -1,6 +1,5 @@ import unittest from fcntl import flock, LOCK_EX, LOCK_UN -from os import remove 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) - remove(path) return g return wrapper