[Pkg-mozext-commits] [adblock-plus] 260/464: Locale processing: Remove leading/trailing spaces from comments
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 5c6998789ef48f66bed742d257590a2fbc746759
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Jul 4 15:26:12 2012 +0200
Locale processing: Remove leading/trailing spaces from comments
---
localeTools.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/localeTools.py b/localeTools.py
index d340e91..adcc714 100644
--- a/localeTools.py
+++ b/localeTools.py
@@ -36,7 +36,7 @@ def parseDTDString(data, path):
return 1
def CommentHandler(data):
- currentComment[0] = data
+ currentComment[0] = data.strip()
def EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName):
result.append((entityName, currentComment[0], value))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list