mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

45c7165 Ticket 48302 - ds-logpipe.py with wrong arguments - python exception in the output

1 file Authored by spichugi 8 years ago, Committed by William Brown 8 years ago,
    Ticket 48302 - ds-logpipe.py with wrong arguments - python exception in the output
    
    Description: If we execute ds-logpipe.py with wrong arguments,
                 then instead of proper message we see AttributeError
                 python exception.
    
                 It happens, because "args" list doesn't have join()
                 function.
    
                 This patch sets join() function to the string object
                 and "args" list to the argument of join() function.
    
    https://fedorahosted.org/389/ticket/48302
    
    Author: Simon Pichugin <spichugi@redhat.com>
    
    Reviewed by: nhosoi, wibrown