[PATCH] except..as

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

 



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

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux