Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Commit

Permalink
Fix indentation error causing unbound variable
Browse files Browse the repository at this point in the history
Fix #224

Signed-off-by: Byron Ruth <[email protected]>
  • Loading branch information
bruth committed Sep 22, 2014
1 parent aa508e3 commit 4c784bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions avocado/query/oldparsers/datacontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ def validate(attrs, **context):
else:
label = smart_unicode(value)

cleaned = {
'value': value,
'label': label,
}
cleaned = {
'value': value,
'label': label,
}

if cleaned:
attrs['cleaned_value'] = cleaned
Expand Down

0 comments on commit 4c784bb

Please sign in to comment.