Repository: ambari Updated Branches: refs/heads/branch-2.5 a50289bf9 -> b32094fa6
AMBARI-20037. Druid-superset install fails with ambari running on python 2.6.6. (Nishant Bangarwa via Swapan Shridhar). Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b32094fa Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b32094fa Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b32094fa Branch: refs/heads/branch-2.5 Commit: b32094fa68860c359d7fed9ab47530bd931a1c8f Parents: a50289b Author: Swapan Shridhar <[email protected]> Authored: Tue Feb 21 12:29:14 2017 -0800 Committer: Swapan Shridhar <[email protected]> Committed: Tue Feb 21 12:31:41 2017 -0800 ---------------------------------------------------------------------- .../common-services/DRUID/0.9.2/package/scripts/superset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b32094fa/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py index 6a56e25..f0077fa 100644 --- a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py +++ b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py @@ -145,7 +145,7 @@ def quote_string_value(value): if value.lower() == "true" or value.lower() == "false" or value.isdigit(): return value else: - return "'{}'".format(value) + return "'{0}'".format(value)
