[
https://issues.apache.org/jira/browse/AMBARI-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694513#comment-14694513
]
Hudson commented on AMBARI-12752:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.1 #369 (See
[https://builds.apache.org/job/Ambari-branch-2.1/369/])
AMBARI-12752: [PluggableStackDefinition] Fix python 2.6 compatibility issue in
GenerateStackDefinition.py (jluniya) (jluniya:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=50a1371cc4aa5eb571575e991db237570250ecf4)
*
ambari-common/src/main/python/pluggable_stack_definition/GenerateStackDefinition.py
> [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)