[PR PATCH] Python3: Bulk tuple exceptions conversion

github at samba.org github at samba.org
Fri Feb 23 16:13:59 UTC 2018

There is a new pull request by noelpower against master on the Samba Samba Github repository

https://github.com/noelpower/samba bulk_tuple_exceptions

Python3: Bulk tuple exceptions conversion
This is a bulk conversion of except clause specifies a tuple following the exception name. This format is illegal in python3 e.g.


    except LdbError, (num, msg):
    except LdbError as e:
         (num, msg) = e.args

The patches follow the same grouping as a previous 'Bulk' commit for converting except clause with ',' instead of 'as'

A patch file from https://github.com/samba-team/samba/pull/131.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-bulk_tuple_exceptions-131.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180223/36e10cae/github-pr-bulk_tuple_exceptions-131-0001.patch>

More information about the samba-technical mailing list