parameters: (self)
docstring: To be called when we exit (Watcher class) to delete the file used to handle the retur code
docstring_summary: To be called when we exit (Watcher class) to delete the file used to handle the retur code
docstring_tokens: To be called when we exit ( Watcher class ) to delete the file used to handle the retur code
function: def clean_return_code_file(self):
          """ To be called when we exit (Watcher class) to delete the file used to handle the retur code
          """
          try:
              # TODO :
              # delete the file
              # delete also in /etc/init.d/domogik start|stop ???
              self.log.debug("Delete the file {0}".format(self.return_code_filename))
              #self.log.debug(u"the stack is :")
              #for elt in inspect.stack():
              #    self.log.debug(u"    {0}".format(elt))
              os.unlink(self.return_code_filename)
          except:
              self.log.error("Error while deleting the file '{0}' : {1}".format(self.return_code_filename, traceback.format_exc()))
function_tokens: def clean_return_code_file ( self ) : try : # TODO : # delete the file # delete also in /etc/init.d/domogik start|stop ??? self . log . debug ( "Delete the file {0}" . format ( self . return_code_filename ) ) #self.log.debug(u"the stack is :") #for elt in inspect.stack(): #    self.log.debug(u"    {0}".format(elt)) os . unlink ( self . return_code_filename ) except : self . log . error ( "Error while deleting the file '{0}' : {1}" . format ( self . return_code_filename , traceback . format_exc ( ) ) )