mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Removed print statements left in the code.
This commit is contained in:
parent
9478d8d532
commit
903274db3e
@ -521,7 +521,6 @@ class JobAccess(BaseAccess):
|
||||
model = Job
|
||||
|
||||
def can_change(self, obj, data):
|
||||
print 'CAN_CHANGE', obj, data
|
||||
return self.user.is_superuser and obj.status == 'new'
|
||||
|
||||
def can_start(self, obj):
|
||||
|
||||
@ -46,7 +46,6 @@ class HostAdminForm(forms.ModelForm):
|
||||
instance = super(HostAdminForm, self).save(commit=commit)
|
||||
save_m2m = getattr(self, 'save_m2m', lambda: None)
|
||||
vdata = self.cleaned_data.get('vdata', '')
|
||||
print 'vdata', repr(vdata)
|
||||
def new_save_m2m():
|
||||
save_m2m()
|
||||
if not instance.variable_data:
|
||||
@ -146,7 +145,6 @@ class JobAdminForm(JobTemplateAdminForm):
|
||||
value = self.cleaned_data.get(field, '')
|
||||
if value:
|
||||
start_opts[field] = value
|
||||
#print 'should_start', should_start
|
||||
should_cancel = bool(self.cleaned_data.get('cancel_job', '') and
|
||||
instance.can_cancel)
|
||||
def new_save_m2m():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user