cook: remove redondant instructions (#33457)

This commit is contained in:
Nicolas Roche 2019-05-27 19:45:07 +02:00
parent 2afc250a97
commit f035e6a2cf
1 changed files with 0 additions and 2 deletions

View File

@ -188,8 +188,6 @@ class Command(BaseCommand):
service_type=obj_type,
service_pk=obj.id,
defaults={'label': label or variable_name})
variable.service_type = obj_type
variable.service_pk = obj.id
if label:
variable.label = label
value = variables[variable_name].get('value')