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: Don't convert options to lowercase and decode config files as UTF-8 Created July 7, 2015, 1:06 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
« chainedconfigparser.py ('K') | « 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,9 @@
return os.path.join(baseDir, 'metadata.%s' % type)
def readMetadata(baseDir, type):
- return ChainedConfigParser(getMetadataPath(baseDir, type))
+ parser = ChainedConfigParser()
+ parser.read(getMetadataPath(baseDir, type))
+ return parser
def getBuildNum(baseDir):
try:
« chainedconfigparser.py ('K') | « chainedconfigparser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld