Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 479382

Summary: qpid-config syntax error
Product: Red Hat Enterprise MRG Reporter: Jan Sarenik <jsarenik>
Component: python-qpidAssignee: Ted Ross <tross>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Sarenik <jsarenik>
Severity: high Docs Contact:
Priority: high    
Version: betaCC: freznice
Target Milestone: 1.1   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://coding.derkeiler.com/Archive/Python/comp.lang.python/2007-06/msg03531.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-20 08:09:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Example of working qpid-config none

Description Jan Sarenik 2009-01-09 08:26:03 UTC
qpid-config command which residies in python-qpid package
is not working on RHEL because the updated syntax of the
'try:' at the end of command is not valid in older versions
of Python (pre 2.5), see

http://coding.derkeiler.com/Archive/Python/comp.lang.python/2007-06/msg03531.html

Tested on RHEL-5.2-i386, python-qpid-0.4.732797-1.el5

Comment 1 Jan Sarenik 2009-01-09 09:33:55 UTC
# qpid-config
  File "/usr/bin/qpid-config", line 390
    finally:
          ^
SyntaxError: invalid syntax

Comment 2 Jan Sarenik 2009-01-09 09:50:22 UTC
Created attachment 328531 [details]
Example of working qpid-config

Just the latest top-level 'try: ' call is important.

Comment 3 Ted Ross 2009-01-09 14:34:10 UTC
This regression was introduced upstream in rev 727462.  It has been fixed in 733041 (trunk) and 733043 (M4 branch).

Comment 4 Frantisek Reznicek 2009-01-12 10:51:30 UTC
The issue has been fixed. Validated on RHEL 5.2 i386 / x86_64 on package
python-qpid-0.4.733051-1.el5.

->VERIFIED