This commit is contained in:
Chris Meyers
2015-05-20 08:23:11 -04:00
parent e6b834c494
commit 51afab566b
2 changed files with 18 additions and 18 deletions

View File

@@ -1254,8 +1254,8 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions):
if not super(InventoryUpdate, self).can_start: if not super(InventoryUpdate, self).can_start:
return False return False
if self.source != 'custom' \ if (self.source != 'custom'
and not (self.credential and self.credential.active): and not (self.credential and self.credential.active)):
return False return False
return True return True