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