[PATCH] except..as
Mike McLean
mikem at redhat.com
Fri Nov 13 03:48:00 UTC 2009
pykickstart uses the 3.0ism except..as in two places. Elsewhere, it uses the older syntax.
The except..as syntax is supported by 2.6 without any from __future__ imports, but not in earlier python versions, such as the 2.4 version in RHEL5.
This change provides consistency with the rest of the code and compatibility with less-than-bleeding-edge distros.
Mike McLean (1):
use python 2.x exception syntax
pykickstart/parser.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the Kickstart-list
mailing list