<s> from pyinfra . api import FactBase <EOL> from . util . packaging import parse_packages <EOL> class PkgPackages ( FactBase ) : <EOL> '''<STR_LIT>''' <EOL> command = '<STR_LIT>' <EOL> _regex = r'<STR_LIT>' <EOL> def process ( self , output ) : <EOL> return parse_packages ( self . _regex , output ) </s>
