[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
levin at chromium.org
levin at chromium.org
Wed Dec 22 18:44:42 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 4b9f087eb7f9a7321e659974fde8abd1d242587f
Author: levin at chromium.org <levin at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Dec 17 03:05:30 2010 +0000
2010-12-16 David Levin <levin at chromium.org>
Reviewed by Eric Seidel.
test-webkitpy: unittest for the xml.py checker displays a decprecation warning.
https://bugs.webkit.org/show_bug.cgi?id=51210
The error only shows up when using python 2.6 or later.
* Scripts/webkitpy/style/checkers/xml.py: Replace the usage of
the decprecated field error,message with something equivalent.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 472e573..74f128b 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-16 David Levin <levin at chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ test-webkitpy: unittest for the xml.py checker displays a decprecation warning.
+ https://bugs.webkit.org/show_bug.cgi?id=51210
+
+ The error only shows up when using python 2.6 or later.
+
+ * Scripts/webkitpy/style/checkers/xml.py: Replace the usage of
+ the decprecated field error,message with something equivalent.
+
2010-12-16 Mihai Parparita <mihaip at chromium.org>
Reviewed by Eric Seidel.
diff --git a/WebKitTools/Scripts/webkitpy/style/checkers/xml.py b/WebKitTools/Scripts/webkitpy/style/checkers/xml.py
index bd8c68a..2f7c0ce 100644
--- a/WebKitTools/Scripts/webkitpy/style/checkers/xml.py
+++ b/WebKitTools/Scripts/webkitpy/style/checkers/xml.py
@@ -42,4 +42,4 @@ class XMLChecker(object):
parser.Parse('\n')
parser.Parse('', True)
except expat.ExpatError, error:
- self.handle_style_error(error.lineno, 'xml/syntax', 5, error.message)
+ self.handle_style_error(error.lineno, 'xml/syntax', 5, expat.ErrorString(error.code))
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list