'Initializes the base command and the yum package repository.'

def __init__(self):

    super(ZypperBackend, self).__init__()
    self.base_command = (os_dep.command('zypper') + '    -n')
    z_cmd = (self.base_command + '    --version')
    cmd_result = utils.run(z_cmd, ignore_status=True, verbose=False)
    out = cmd_result.stdout.strip()
    try:
        ver = re.findall('\\d.\\d*.\\d*', out)[0]
    except IndexError:
        ver = out
    self.pm_version = ver
    logging.debug(('Zypper    version:    %s' % self.pm_version))
