casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
task_clearstat.py
Go to the documentation of this file.
00001 import os
00002 from taskinit import *
00003 
00004 from parameter_check import *
00005 
00006 def clearstat():
00007         """Clear all read/write locks on tables. This can be used if a task has
00008         indicated that it is trying to get a lock on a file.
00009 
00010         """
00011         try:
00012                 tb.clearlocks()
00013         except Exception, instance:
00014                 print '*** Error ***',instance