Bug 748159 - Let mochitest handle extra prefs that contain an equal sign, r=ted, a=testonly

This commit is contained in:
Jonathan Griffin 2012-04-25 10:34:53 -07:00
Родитель a6a97184a8
Коммит 5bc2e94f14
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -482,7 +482,7 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
prefs.append(part)
for v in extraPrefs:
thispref = v.split("=")
thispref = v.split("=", 1)
if len(thispref) < 2:
print "Error: syntax error in --setpref=" + v
sys.exit(1)