1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
(file, section, key) = sys.argv[1:]
10
print "Usage: printconfigsetting.py <file> <section> <setting>"
13
c = configobj.ConfigObj(file)
18
print >>sys.stderr, "Section [%s] not found." % section
24
print >>sys.stderr, "Key %s not found." % key