(self)
Back up old file.
Back up old file.
Back up old file .
def backup(self):
        """Back up old file."""
        destination = f"{self.source}.{self.from_version}"
        self.logger.info(f"Backing up current file to '{destination}'")
        copy2(self.source, destination)
def backup ( self ) : destination = f"{self.source}.{self.from_version}" self . logger . info ( f"Backing up current file to '{destination}'" ) copy2 ( self . source , destination )