[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] except..as



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(-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]