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
parent 65c17e54b5
commit aa96c84424

View File

@ -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)