[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696754: console-setup: Spurious warning: “configItem: Unknown tag hwList”



Package: console-setup
Version: 1.88
Severity: minor
Tags: patch

Hi,

noticed in the jenkins build logs after Samuel's upload:
| ./xmlreader /usr/share/X11/xkb/rules/xorg.xml >KeyboardNames.pl
| WARNING: configItem: Unknown tag hwList, arg=ARRAY(0x1c84ee0)

Trivially fixed by the attached patch.

Mraw,
KiBi.
>From bfe2932618c0ee67fefed8867d818ea02c74e5ce Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <kibi@debian.org>
Date: Wed, 26 Dec 2012 20:31:25 +0100
Subject: [PATCH] Keyboard/xmlreader: Register the hwList tag as an ignored
 one.

---
 Keyboard/xmlreader |    2 +-
 debian/changelog   |    8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/Keyboard/xmlreader b/Keyboard/xmlreader
index 772966d..3c1029a 100755
--- a/Keyboard/xmlreader
+++ b/Keyboard/xmlreader
@@ -101,7 +101,7 @@ sub parse_configItem {
 		$description = parse_text $arg;
 	    }
 	} elsif ($tag =~ /^(shortDescription|_description
-                           |vendor|languageList|countryList)$/x) {
+                           |vendor|hwList|languageList|countryList)$/x) {
 	} elsif ($tag eq 0) {
 	    warning "configItem: Garbage in configItem: $arg.\n" if ($arg !~ /^\s*$/);
 	} else {
diff --git a/debian/changelog b/debian/changelog
index 4290092..6d18489 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+console-setup (1.90) UNRELEASED; urgency=low
+
+  * Keyboard/xmlreader: Register the hwList tag as an ignored one, just
+    like vendor is ignored already, which lets us get rid of a spurious
+    warning in the builg log (thanks, Holger & jenkins).
+
+ -- Cyril Brulebois <kibi@debian.org>  Wed, 26 Dec 2012 20:30:04 +0100
+
 console-setup (1.89) unstable; urgency=low
 
   * Team upload.
-- 
1.7.10.4


Reply to: