[ 
https://issues.apache.org/jira/browse/QPID-5660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim van der Riet updated QPID-5660:
-----------------------------------

    Description: 
Recent tests of legacystore on older versions of linux that use Python 2.4.x 
fail because of a syntax error:

{{except jerr.NonExistentRecordError as err:}}

This version of Python did not use the {{as}} syntax, but rather the {{,}} 
syntax:

{{except jerr.NonExistentRecordError, err:}}

The fix should be trivial, replacing all instances of the incorrect syntax with 
the earlier syntax, and which is still accepted by later versions of Python 2.x.

  was:
Recent tests of legacystore on older versions of linux that use Python 2.4.x 
fail because of a syntax error:

{{except jerr.NonExistentRecordError as err:}}

This version of Python did not use the as syntax, but rather the , syntax:

{{except jerr.NonExistentRecordError, err:}}

The fix should be trivial, replacing all instances of the incorrect syntax with 
the earlier syntax, and which is still accepted by later versions of Python 2.x.


> [legacystore] Python tests fail with syntax error
> -------------------------------------------------
>
>                 Key: QPID-5660
>                 URL: https://issues.apache.org/jira/browse/QPID-5660
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>            Priority: Minor
>
> Recent tests of legacystore on older versions of linux that use Python 2.4.x 
> fail because of a syntax error:
> {{except jerr.NonExistentRecordError as err:}}
> This version of Python did not use the {{as}} syntax, but rather the {{,}} 
> syntax:
> {{except jerr.NonExistentRecordError, err:}}
> The fix should be trivial, replacing all instances of the incorrect syntax 
> with the earlier syntax, and which is still accepted by later versions of 
> Python 2.x.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to