Move cache_timeout_blocked to the job template where it belong from the

job model
This commit is contained in:
Matthew Jones 2014-11-19 11:48:32 -05:00
parent b1cd745800
commit ece3bc5e64

View File

@ -287,6 +287,9 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
survey_element['choices']))
return errors
@property
def cache_timeout_blocked(self):
return False
def _can_update(self):
return self.can_start_without_user_input()
@ -370,10 +373,6 @@ class Job(UnifiedJob, JobOptions):
return False
return False
@property
def cache_timeout_blocked(self):
return False
@property
def task_impact(self):
# NOTE: We sorta have to assume the host count matches and that forks default to 5