Make sure item as an uninstall_method before indicating it can be uninstalled in MSC

This commit is contained in:
Greg Neagle
2016-04-11 14:30:16 -07:00
parent 51f6c7a58f
commit cdf27e4e4e

View File

@@ -899,7 +899,8 @@ class OptionalItem(GenericItem):
self['updatecheck_needed'] = True
else: # not in managed_uninstalls
if not self.get('needs_update'):
if self.get('uninstallable'):
if (self.get('uninstallable')
and self.get('uninstall_method'):
status = u'installed'
else: # not uninstallable
status = u'installed-not-removable'