diff options
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index bd5bf63341..febd17fba2 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2168,7 +2168,7 @@ if True: | |||
2168 | if 'configvarAdd' in request.POST: | 2168 | if 'configvarAdd' in request.POST: |
2169 | t=request.POST['configvarAdd'].strip() | 2169 | t=request.POST['configvarAdd'].strip() |
2170 | if ":" in t: | 2170 | if ":" in t: |
2171 | variable, value = t.split(":") | 2171 | variable, value = t.split(":", 1) |
2172 | else: | 2172 | else: |
2173 | variable = t | 2173 | variable = t |
2174 | value = "" | 2174 | value = "" |
@@ -2178,7 +2178,7 @@ if True: | |||
2178 | if 'configvarChange' in request.POST: | 2178 | if 'configvarChange' in request.POST: |
2179 | t=request.POST['configvarChange'].strip() | 2179 | t=request.POST['configvarChange'].strip() |
2180 | if ":" in t: | 2180 | if ":" in t: |
2181 | variable, value = t.split(":") | 2181 | variable, value = t.split(":", 1) |
2182 | else: | 2182 | else: |
2183 | variable = t | 2183 | variable = t |
2184 | value = "" | 2184 | value = "" |