Bug 1034417 - rhn-clone-errata.py exception
Summary: rhn-clone-errata.py exception
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.8
Hardware: noarch
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space21
TreeView+ depends on / blocked
 
Reported: 2013-11-25 19:29 UTC by helfman
Modified: 2014-03-04 13:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-04 13:07:35 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.