cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

659c138 Ticket 48204 - Add Python 3 compatibility to ds-logpipe

Authored and Committed by mreynolds 8 years ago
    Ticket 48204 - Add Python 3 compatibility to ds-logpipe
    
    From: Petr Viktorin <pviktori@redhat.com>
    
    Description:
    - Use 'as' syntax when catching exceptions
    - Use 0o... syntax for octal literals
    - Don't use unbuffered text files in Python 3
    
    https://fedorahosted.org/389/ticket/48204
    
    Reviewed by: mreynolds
    
    (cherry picked from commit 674eac235a72565075129f125e3aefdecb033a05)