zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224)

This commit is contained in:
Alex 2016-05-19 08:21:33 +02:00 committed by Matt Clay
parent 9064aecaed
commit e031f37407

View file

@ -140,7 +140,7 @@ def get_installed_state(m, packages):
"get installed state of packages" "get installed state of packages"
cmd = get_cmd(m, 'search') cmd = get_cmd(m, 'search')
cmd.extend(['--match-exact', '--verbose', '--installed-only']) cmd.extend(['--match-exact', '--details', '--installed-only'])
cmd.extend(packages) cmd.extend(packages)
return parse_zypper_xml(m, cmd, fail_not_found=False)[0] return parse_zypper_xml(m, cmd, fail_not_found=False)[0]