vaultmanager/VaultManager.py
def signal_handler(self, sig, frame):
        """
        Called in case of a manual

        :param sig: Signal received
        :param frame: Frame object
        """
        self.logger.warning("SIGINT received")
        self.logger.warning("There's no tasks rollback in case of "
                            "manual interruption")
        self.logger.warning("Some tasks may stay partially done and depending "
                            "on the interrupted task, some Vault data can "
                            "be corrupted")
        trace = "Interruption point:"
        for idx, f_summary in enumerate(traceback.extract_stack(frame)):
            trace += "\n  %s:%s in %s\n\t%s" % (f_summary.filename, f_summary.lineno, f_summary.name, f_summary.line)
        self.logger.warning(trace)
        self.logger.warning("Exiting. Return code: 0")
        sys.exit(0)

        Called in case of a manual

        :param sig: Signal received
        :param frame: Frame object
        
Called in case of a manual
Called in case of a manual
def signal_handler(self, sig, frame):
        self.logger.warning("SIGINT received")
        self.logger.warning("There's no tasks rollback in case of "
                            "manual interruption")
        self.logger.warning("Some tasks may stay partially done and depending "
                            "on the interrupted task, some Vault data can "
                            "be corrupted")
        trace = "Interruption point:"
        for idx, f_summary in enumerate(traceback.extract_stack(frame)):
            trace += "\n  %s:%s in %s\n\t%s" % (f_summary.filename, f_summary.lineno, f_summary.name, f_summary.line)
        self.logger.warning(trace)
        self.logger.warning("Exiting. Return code: 0")
        sys.exit(0)
def signal_handler ( self , sig , frame ) : self . logger . warning ( "SIGINT received" ) self . logger . warning ( "There's no tasks rollback in case of " "manual interruption" ) self . logger . warning ( "Some tasks may stay partially done and depending " "on the interrupted task, some Vault data can " "be corrupted" ) trace = "Interruption point:" for idx , f_summary in enumerate ( traceback . extract_stack ( frame ) ) : trace += "\n  %s:%s in %s\n\t%s" % ( f_summary . filename , f_summary . lineno , f_summary . name , f_summary . line ) self . logger . warning ( trace ) self . logger . warning ( "Exiting. Return code: 0" ) sys . exit ( 0 )
Called in case of a manual
Called in case of a manual
"""
        Called in case of a manual

        :param sig: Signal received
        :param frame: Frame object
        """
self
sig
None
frame
None