jw-pkg/src/python/jw/pkg/lib/distros/suse/Refresh.py

14 lines
309 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from argparse import Namespace
from ...Cmd import Cmd
from ..BeRefresh import BeRefresh as Base
class Refresh(Base):
def __init__(self, parent: Cmd):
super().__init__(parent)
async def run(self, args: Namespace):
return await self.util.zypper(['refresh'])