You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2017/02/21 20:30:20 UTC

ambari git commit: AMBARI-20037. Druid-superset install fails with ambari running on python 2.6.6. (Nishant Bangarwa via Swapan Shridhar).

Repository: ambari
Updated Branches:
  refs/heads/trunk ce7c72709 -> 59daf8b0e


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/59daf8b0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/59daf8b0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/59daf8b0

Branch: refs/heads/trunk
Commit: 59daf8b0ea0465b83dad45102105f498a9784912
Parents: ce7c727
Author: Swapan Shridhar <ss...@hortonworks.com>
Authored: Tue Feb 21 12:29:14 2017 -0800
Committer: Swapan Shridhar <ss...@hortonworks.com>
Committed: Tue Feb 21 12:29:14 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/59daf8b0/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)