<filename>restic/internal/self_update.py
from restic.internal import command_executor


def run(restic_base_command):
    cmd = restic_base_command + ['self-update']
    return command_executor.execute(cmd)

<filename>restic/internal/self_update.py
from restic.internal import command_executor


def run(restic_base_command):
    cmd = restic_base_command + ['self-update']
    return command_executor.execute(cmd)
