aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-20 01:21:39 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-20 01:21:39 +0100
commit2abc7e13fe87f92feceafaf348f553cf8b6c9b9e (patch)
tree6956d68273a6e15b4abf5c8bcb2437ad851eae1c /lib
parent71df561fef80abf523548727d77dba2ef8ab7b93 (diff)
downloadbugzilla-triage-2abc7e13fe87f92feceafaf348f553cf8b6c9b9e.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/libbugzilla.js4
-rw-r--r--lib/main.js1
2 files changed, 1 insertions, 4 deletions
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();
diff --git a/lib/main.js b/lib/main.js
index a169fae..502d839 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -126,7 +126,6 @@ libbz.initialize(libbz.config, function () {
contentScriptWhen: 'ready',
contentScriptFile: contentScriptLibraries["bugzilla.redhat.com"],
onAttach: function onAttach(worker, msg) {
- console.log("worker: " + worker);
worker.on('message', function (msg) {
messageHandler(worker, msg);
});