[PR PATCH] [Closed]: Python3: Bulk tuple exceptions conversion

github at samba.org github at samba.org
Mon Feb 26 15:03:45 UTC 2018

There's a closed pull request on the Samba Samba Github repository

Python3: Bulk tuple exceptions conversion
Description: 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'

More information about the samba-technical mailing list