Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: packager.py

Issue 29319007: Issue 2711 - Refactored ChainedConfigParser, allowing manipulation of list items (Closed)
Patch Set: Addressed comments Created July 7, 2015, 3:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chainedconfigparser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packager.py
===================================================================
--- a/packager.py
+++ b/packager.py
@@ -20,7 +20,10 @@
return os.path.join(baseDir, 'metadata.%s' % type)
def readMetadata(baseDir, type):
- return ChainedConfigParser(getMetadataPath(baseDir, type))
+ parser = ChainedConfigParser()
+ parser.optionxform = lambda option: option
+ parser.read(getMetadataPath(baseDir, type))
+ return parser
def getBuildNum(baseDir):
try:
« no previous file with comments | « chainedconfigparser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld