Fix constructing of labels map

Closes-Bug: #1425503
Change-Id: Idfeeea1530eb35514cc9c527ac45713b1ff94b1c
This commit is contained in:
Dmytro Dovbii 2015-02-26 15:16:33 +02:00 committed by Stan Lagun
parent 75ebea3980
commit e0ef451ff4
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ Methods:
In: $labelsString.replace(',', ';').split(';')
Do:
- $pair: $t.split('=')
- If: len($pair) < 2
Then:
Continue:
- $key: $pair[0].trim()
- $result[$key]: $pair[1].trim()
- Return: $result