Backout part of Bug 812179 for SeaMonkey bustage. rs+=gps
authorJustin Wood <Callek@gmail.com>
Sat, 02 Mar 2013 13:31:19 -0500
changeset 133903 edf9c64f821e437865b3cfa9eb32036198e59567
parent 133902 e9d4487af28dfd6bda302ebb3d114797c9416d46
child 133976 0b5d4e17261997a93fa332eaa1a25fdbcedbbbb0
child 133985 18c3ffc28f4a80eeaa1cb9c9fd020f800de060f6
push id2452
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 16:59:38 +0000
treeherdermozilla-beta@d4b152d29d8d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs812179
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)