ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12752) [PluggableStackDefinition] Fix python 2.6 compatibility issue in GenerateStackDefinition.py
Date Wed, 12 Aug 2015 21:21:45 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694188#comment-14694188
] 

Jayush Luniya commented on AMBARI-12752:
----------------------------------------

Committed to trunk
commit 469a090c44d3de28afee23cbc923d8ad2a813cc2
Author: Jayush Luniya <jluniya@hortonworks.com>
Date:   Wed Aug 12 14:20:07 2015 -0700

    AMBARI-12752: [PluggableStackDefinition] Fix python 2.6 compatibility issue in GenerateStackDefinition.py
(jluniya)

> [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)

Mime
View raw message