mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02:30
removed print statements
This commit is contained in:
@@ -1101,7 +1101,6 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions):
|
|||||||
'credential', 'source_regions', 'instance_filters', 'group_by', 'overwrite', 'overwrite_vars']
|
'credential', 'source_regions', 'instance_filters', 'group_by', 'overwrite', 'overwrite_vars']
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
print("Inventory source save called <%s, %s>" % (self.pk, self.status))
|
|
||||||
new_instance = bool(self.pk)
|
new_instance = bool(self.pk)
|
||||||
# If update_fields has been specified, add our field names to it,
|
# If update_fields has been specified, add our field names to it,
|
||||||
# if it hasn't been specified, then we're just doing a normal save.
|
# if it hasn't been specified, then we're just doing a normal save.
|
||||||
|
|||||||
@@ -357,7 +357,6 @@ class ProjectUpdate(UnifiedJob, ProjectOptions):
|
|||||||
return reverse('api:project_update_detail', args=(self.pk,))
|
return reverse('api:project_update_detail', args=(self.pk,))
|
||||||
|
|
||||||
def _update_parent_instance(self):
|
def _update_parent_instance(self):
|
||||||
print("This should not print")
|
|
||||||
parent_instance = self._get_parent_instance()
|
parent_instance = self._get_parent_instance()
|
||||||
if parent_instance:
|
if parent_instance:
|
||||||
update_fields = self._update_parent_instance_no_save(parent_instance)
|
update_fields = self._update_parent_instance_no_save(parent_instance)
|
||||||
|
|||||||
Reference in New Issue
Block a user