Backout part of Bug 812179 for SeaMonkey bustage. rs+=gps
authorJustin Wood <Callek@gmail.com>
Sat, 02 Mar 2013 13:31:19 -0500
changeset 123505 edf9c64f821e437865b3cfa9eb32036198e59567
parent 123504 e9d4487af28dfd6bda302ebb3d114797c9416d46
child 123578 0b5d4e17261997a93fa332eaa1a25fdbcedbbbb0
child 123587 18c3ffc28f4a80eeaa1cb9c9fd020f800de060f6
push idunknown
push userunknown
push dateunknown
bugs812179
milestone22.0a1
Backout part of Bug 812179 for SeaMonkey bustage. rs+=gps
config/printconfigsetting.py
--- a/config/printconfigsetting.py
+++ b/config/printconfigsetting.py
@@ -1,26 +1,25 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
-from __future__ import print_function
 
 import configobj, sys
 
 try:
     (file, section, key) = sys.argv[1:]
 except ValueError:
-    print("Usage: printconfigsetting.py <file> <section> <setting>")
+    print "Usage: printconfigsetting.py <file> <section> <setting>"
     sys.exit(1)
 
 c = configobj.ConfigObj(file)
 
 try:
     s = c[section]
 except KeyError:
-    print("Section [{0}] not found.".format(section), file=sys.stderr)
+    print >>sys.stderr, "Section [%s] not found." % section
     sys.exit(1)
 
 try:
-    print(s[key])
+    print s[key]
 except KeyError:
-    print("Key {0} not found.".format(key), file=sys.stderr)
+    print >>sys.stderr, "Key %s not found." % key
     sys.exit(1)