bug 839298 - fix json file creation for git users r=ted
authorJohn Ford <jhford@mozilla.com>
Tue, 19 Feb 2013 13:56:11 -0800
changeset 122381 401b967b2dfcc9107d9c3a9c9b45b10c4a67a932
parent 122380 71e84eb9db9f42fa91c88df3305f0397dc86fceb
child 122382 321ab9290c0637f50b791b6a24e9b6a962636462
push id23264
push userryanvm@gmail.com
push dateTue, 19 Feb 2013 23:23:06 +0000
treeherdermozilla-inbound@6e023073f89e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs839298
milestone22.0a1
first release with
nightly linux32
401b967b2dfc / 22.0a1 / 20130220031126 / files
nightly linux64
401b967b2dfc / 22.0a1 / 20130220031126 / files
nightly mac
401b967b2dfc / 22.0a1 / 20130220031126 / files
nightly win32
401b967b2dfc / 22.0a1 / 20130220031126 / files
nightly win64
401b967b2dfc / 22.0a1 / 20130220031126 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 839298 - fix json file creation for git users r=ted
toolkit/mozapps/installer/informulate.py
--- a/toolkit/mozapps/installer/informulate.py
+++ b/toolkit/mozapps/installer/informulate.py
@@ -9,17 +9,17 @@ import buildconfig
 
 
 def parse_cmdline(args):
     """Take a list of strings in the format K=V and turn them into a python
     dictionary"""
     contents = {}
     for arg in args:
         key, s, value = arg.partition("=")
-        if value == '':
+        if s == '':
             print "ERROR: Malformed command line key value pairing (%s)" % arg
             exit(1)
         contents[key.lower()] = value
     return contents
 
 
 def main():
     if len(sys.argv) < 2: