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