(self)
Touch a sign file after the prepare process is done.
Touch a sign file after the prepare process is done.
Touch a sign file after the prepare process is done .
def done_prepare(self):
    """Touch a sign file after the prepare process is done."""
    if self.done_sign != "" and not os.path.exists(self.done_sign):
      if not os.path.exists(os.path.dirname(self.done_sign)):
        os.makedirs(os.path.dirname(self.done_sign))
      Path(self.done_sign).touch()
def done_prepare ( self ) : if self . done_sign != "" and not os . path . exists ( self . done_sign ) : if not os . path . exists ( os . path . dirname ( self . done_sign ) ) : os . makedirs ( os . path . dirname ( self . done_sign ) ) Path ( self . done_sign ) . touch ( )