Commit ed1ed53
[FIX] util/misc:
If the env var was not set we returned `[""]`. That was confusing.
It also breaks the boolean check of the result.
With this patch we just return an empty list when the variable is not set.
See also: odoo/upgrade#8174
closes #299
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
Co-authored-by: Christophe Simonis (chs) <chs@odoo.com>split_osenv, do not return [""]
1 parent 6c9a30c commit ed1ed53
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments