From 5d5750b405a4cdf4b2fd0dbc5a4d5cb5e0b09a01 Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Mon, 23 Jun 2014 15:25:51 -0700 Subject: [PATCH] Update gyp_packager to support earlier version of python "{} {}" formatting in python is introduced in version 2.7. Replaced with "{0} {1}" to support python 2.6 and below. Change-Id: Ic20fdc5fce554a5a5cb57383d5587581f70de598 --- gyp_packager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gyp_packager.py b/gyp_packager.py index 31ab1ebf13..41ec506ca6 100755 --- a/gyp_packager.py +++ b/gyp_packager.py @@ -64,7 +64,7 @@ if __name__ == '__main__': else "") for key in _DEFAULT_DEFINES: if key not in gyp_defines: - gyp_defines += " {}={}".format(key, _DEFAULT_DEFINES[key]) + gyp_defines += " {0}={1}".format(key, _DEFAULT_DEFINES[key]) os.environ['GYP_DEFINES'] = gyp_defines.strip() # There shouldn't be a circular dependency relationship between .gyp files,