ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masahiro Tanaka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
Date Thu, 08 Sep 2016 04:13:21 GMT
Masahiro Tanaka created AMBARI-18337:
----------------------------------------

             Summary: Syntax Error in Ambari HAWQ Unit test with Python 2.6
                 Key: AMBARI-18337
                 URL: https://issues.apache.org/jira/browse/AMBARI-18337
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk
         Environment: CentOS6, Python 2.6
            Reporter: Masahiro Tanaka
            Assignee: Masahiro Tanaka


With Python 2.6, {code} {"A", "B"}  {code} syntax isn't allowed.

Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset

{code}
As of Python 2.7, non-empty sets (not frozensets) can be created by placing a comma-separated
list of elements within braces, for example: {'jack', 'sjoerd'}, in addition to the set constructor.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message