[Top][All Lists]

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

[Jailkit-dev] Jailkit-2.20 patch to support Python3

From: William Stearns
Subject: [Jailkit-dev] Jailkit-2.20 patch to support Python3
Date: Fri, 31 May 2019 17:32:32 -0400

Good day, all,
     I've made the minimal changes needed to run jailkit 2.20 on Python3 - patch is attached.  I've tried to structure this in a form that will continue to work on python2 as well.
    I'd appreciate it if someone could review the "except .... :" lines.  I've connected all of the errors into a single list, like:

-                       except OSError, (errno,strerror):

+                       except (OSError, errno, strerror):

    but am not sure this matches the original intent.
    Many thanks for your work on jailkit.  Cheers,
    - Bill

Attachment: jailkit-2.20-python3-compatibility.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]