Jayush Luniya created AMBARI-12752:
--------------------------------------
Summary: [PluggableStackDefinition] Fix python 2.6 compatibility
issue in GenerateStackDefinition.py
Key: AMBARI-12752
URL: https://issues.apache.org/jira/browse/AMBARI-12752
Project: Ambari
Issue Type: Bug
Components: ambari-agent, ambari-server
Affects Versions: 2.1.1
Reporter: Jayush Luniya
Assignee: Jayush Luniya
Priority: Blocker
Fix For: 2.1.1
Fix str.encode() and str.decode() to not use keyword arguments as support for
keyword arguments was added in Python 2.7. This caused build break with Python
2.6
https://docs.python.org/2/library/stdtypes.html
Changed in version 2.7: Support for keyword arguments added.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)