parameters: (self)
docstring: Create a backup in /tmp
docstring_summary: Create a backup in /tmp
docstring_tokens: Create a backup in / tmp
function: def cleanup(self):
          """Create a backup in /tmp"""
          if os.path.exists(self.backup_path):
              shutil.rmtree(self.backup_path)
              while os.path.exists(self.backup_path):
                  sleep(0.1)
              _LOGGER.debug("Backup dir %s cleared", self.backup_path)
function_tokens: def cleanup ( self ) : if os . path . exists ( self . backup_path ) : shutil . rmtree ( self . backup_path ) while os . path . exists ( self . backup_path ) : sleep ( 0.1 ) _LOGGER . debug ( "Backup dir %s cleared" , self . backup_path )