Re: [PATCH] use python 2.x exception syntax

2009-11-13 Thread Mike McLean
On Fri, Nov 13, 2009 at 9:15 AM, Chris Lumens wrote: > Which version of pykickstart is this meant to apply to? patch was based on HEAD in git. The commit that introduced the except..as lines was 4e1f0ff30bf1cb1d261d4920d82fc77a33761ff8 (just before 1.59). A later commit (1ab2d9d798734e9e552d2bfa8

Re: [PATCH] use python 2.x exception syntax

2009-11-13 Thread Chris Lumens
> diff --git a/pykickstart/parser.py b/pykickstart/parser.py > index 160874c..21525f1 100644 > --- a/pykickstart/parser.py > +++ b/pykickstart/parser.py > @@ -136,7 +136,7 @@ def preprocessKickstart (file): > """ > try: > fh = urlopen(file) > -except grabber.URLGrabError as e

[PATCH] use python 2.x exception syntax

2009-11-12 Thread Mike McLean
Signed-off-by: Mike McLean --- pykickstart/parser.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pykickstart/parser.py b/pykickstart/parser.py index 160874c..21525f1 100644 --- a/pykickstart/parser.py +++ b/pykickstart/parser.py @@ -136,7 +136,7 @@ def preprocessK