Lines Matching refs:options
52 def dictserver(options): argument
54 if options.pidfile:
59 with open(options.pidfile, "w") as f:
62 local_bind = (options.host, options.port)
129 def setup_logging(options): argument
137 if options.logfile:
138 handler = ClosingFileHandler(options.logfile)
146 if options.verbose:
170 options = get_options() variable
173 setup_logging(options)
177 rc = dictserver(options)
182 if options.pidfile and os.path.isfile(options.pidfile):
183 os.unlink(options.pidfile)