From 2abc7e13fe87f92feceafaf348f553cf8b6c9b9e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 20 Feb 2011 01:21:39 +0100 Subject: Fix fill-in magic. * changed regexp for parsing driver line, just PCI ID is relevant. * all magic is now in data * eliminated most unnecessary console.logs ... either changed to console.error or just removed. --- lib/libbugzilla.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libbugzilla.js') diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index 196dbbe..c13c61d 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -262,8 +262,6 @@ exports.makeXMLRPCCall = function makeXMLRPCCall(url, login, method, params, cal if (!passwObj.password) { return null; // TODO this should happen, only when user presses Escape in password prompt } - console.log("makeXMLRPCCall :\n\turl = " + url + "\n\tlogin = " + login + "\n\tmethod = " + - method + "\n\tparams = " + params.toSource() + "\n\tcallback = " + callback.toSource()); var msg = new xrpc.XMLRPCMessage(method); params.forEach(function (par) { @@ -318,7 +316,7 @@ exports.initialize = function initialize(config, callback) { url: url, onComplete: function(response) { if (response.status == 200) { - config.gJSONData.constantData[title] = response.json; + config.constantData[title] = response.json; } } }).get(); -- cgit