Bug 1034417

Summary: rhn-clone-errata.py exception
Product: [Community] Spacewalk Reporter: helfman
Component: ClientsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.8   
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 13:07:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1069560    

Description helfman 2013-11-25 19:29:18 UTC
Description of problem:
Execution of rhn-clone-errata.py results in error:

[helfman@myserver ~]$ ./rhn-clone-errata.py
  File "./rhn-clone-errata.py", line 833
    except Exception as e:
                      ^
SyntaxError: invalid syntax

Host is: Red Hat Enterprise Linux Server release 5.10 (Tikanga)

Version-Release number of selected component (if applicable):
git commit of script is b0524cc7fa1de90398e8b7d3762555324dd5c4f5

How reproducible:
When I run this command on FreeBSD, I don't have the same issue.

Python Version on Redhat is 2.4.3
Python Version on FreeBSD is 2.7

Steps to Reproduce:
1. git clone of spacewalk repository
2. run rhn-clone-errata.py

Actual results:
  File "./rhn-clone-errata.py", line 833
    except Exception as e:
                      ^
SyntaxError: invalid syntax

Expected results:

try: ./rhn-clone-errata.py --help


Additional info:
I put this as urgent as it affect the slurping of errata.
Thanks!
-jgh

Comment 1 Milan Zázrivec 2013-11-26 10:13:47 UTC
Fixed in spacewalk.git master: 98a72d90238ccd2feb615adb392f8a9ce66debb4

Comment 2 helfman 2013-12-23 23:37:24 UTC
confirmed as fixed.
thanks!

-jgh

Comment 3 Matej Kollar 2014-01-17 12:15:16 UTC
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.

Comment 4 Matej Kollar 2014-03-04 13:07:35 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21

Comment 5 Matej Kollar 2014-03-04 13:08:51 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21