aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-20 00:14:30 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-20 00:14:30 +0100
commit98ba69e4b210700e0c16c0e78de65023bb715d09 (patch)
tree37cae8e99718c0b3d2763256ad94290e58de4128 /data
parent0f6d016183c63aa591d91f6973d550b7faa9f600 (diff)
downloadbugzilla-triage-98ba69e4b210700e0c16c0e78de65023bb715d09.tar.gz
Allow parsing of non-timed Xorg.0.log lines.
Fixes #68
Diffstat (limited to 'data')
-rw-r--r--data/lib/rhbzpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js
index bd03e87..c9a9cd8 100644
--- a/data/lib/rhbzpage.js
+++ b/data/lib/rhbzpage.js
@@ -27,7 +27,7 @@ var logAnalyzeLogic = {
0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
*/
re: [
- "^\\[[ .0-9]+\\]\\s*\\(--\\) PCI:\\*\\([0-9:]+\\)\\s*" +
+ "^(\\[[ .0-9]+\\])?\\s*\\(--\\) PCI:\\*\\([0-9:]+\\)\\s*" +
"([0-9a-f:]+).*$",
"^\\s*\\[?[ 0-9.]*\\]?\\s*\\(--\\) "+
"([A-Za-z]+)\\([0-9]?\\): Chipset: (.*)$",
@@ -606,7 +606,7 @@ function chipsetMagic (interestingLineArr) {
if (interestingLineArr.length >0) {
var interestingArray = interestingLineArr[0];
if (interestingArray.length > 1) {
- var interestingPCIID = interestingArray[1].trim().split(":");
+ var interestingPCIID = interestingArray[2].trim().split(":");
createNewButton("short_desc_nonedit_display", false, {
"name": "Fill In",
"chipMagic": {