Skip to content
Permalink
Browse files

fix: qinq value remains true if cloud is redefined

there is an issue with the way we handled qinq value if the value
was already set to true. False values for qinq where not coming
through if not passing the qinq option.

Change-Id: I79fed18ebfad60e7f1d80a51189670562fbe698a
  • Loading branch information
grafuls committed Dec 12, 2019
1 parent 09bab5a commit a514a9233d7eee3142854d65ca70db18b86071ee
Showing with 2 additions and 0 deletions.
  1. +2 −0 quads/model.py
@@ -126,6 +126,8 @@ def prep_data(data):
data['ccuser'] = data['ccuser'].split()
if 'qinq' in data:
data['qinq'] = bool(data['qinq'])
else:
data['qinq'] = False
if 'wipe' in data:
if str(data['wipe']).lower() == "false":
data["wipe"] = False

0 comments on commit a514a92

Please sign in to comment.
You can’t perform that action at this time.