Changeset 790 for trunk/packages/sipb-xen-base
- Timestamp:
- Jul 30, 2008, 9:33:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-base/files/usr/share/python-support/sipb-xen-base/invirt/common.py
r786 r790 1 1 import unittest 2 2 from fcntl import flock, LOCK_EX, LOCK_UN 3 from os import remove4 3 5 4 class struct(object): … … 58 57 try: return func() 59 58 finally: flock(f, LOCK_UN) 60 remove(path)61 59 return g 62 60 return wrapper
Note: See TracChangeset
for help on using the changeset viewer.