[Pkg-mozext-commits] [adblock-plus] 317/464: Fixed: Option names in metadata files should be case-sensitive

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:29 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 fdeb22c47b1a21da8aff5b4e078ce656418c33a2
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Oct 22 14:42:58 2012 +0200

    Fixed: Option names in metadata files should be case-sensitive
---
 packagerChrome.py | 1 +
 packagerGecko.py  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/packagerChrome.py b/packagerChrome.py
index 264c301..13f1b9c 100644
--- a/packagerChrome.py
+++ b/packagerChrome.py
@@ -26,6 +26,7 @@ def getBuildNum(baseDir):
 
 def readMetadata(baseDir):
   metadata = SafeConfigParser()
+  metadata.optionxform = str
   file = codecs.open(getMetadataPath(baseDir), 'rb', encoding='utf-8')
   metadata.readfp(file)
   file.close()
diff --git a/packagerGecko.py b/packagerGecko.py
index 33a6c02..54d27bc 100644
--- a/packagerGecko.py
+++ b/packagerGecko.py
@@ -88,6 +88,7 @@ def getBuildNum(baseDir):
 
 def readMetadata(baseDir):
   metadata = SafeConfigParser()
+  metadata.optionxform = str
   file = codecs.open(getMetadataPath(baseDir), 'rb', encoding='utf-8')
   metadata.readfp(file)
   file.close()
@@ -129,6 +130,7 @@ def readLocaleMetadata(baseDir, locales):
 
   for locale in locales:
     data = SafeConfigParser()
+    data.optionxform = str
     try:
       result[locale] = localeTools.readFile(os.path.join(getLocalesDir(baseDir), locale, 'meta.properties'))
     except:

-- 
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