def set_log_fd(fd): if fd < 1: raise optparse.OptionValueError("log-fd must be greater than zero.") log.add_fd(fd)
def set_log_fd(fd): if fd < 1: raise optparse.OptionValueError( "log-fd must be greater than zero.") log.add_fd(fd)