parameters: (self)
docstring: remove any locks from the resource
docstring_summary: remove any locks from the resource
docstring_tokens: remove any locks from the resource
function: def cleanup(self):
          """ remove any locks from the resource """
          # XXX should be fixed properly!!!
          try:
              self.unlock()
          except:
              pass
function_tokens: def cleanup ( self ) : # XXX should be fixed properly!!! try : self . unlock ( ) except : pass