equal
deleted
inserted
replaced
249 _mixin = SocketServer.ThreadingMixIn |
249 _mixin = SocketServer.ThreadingMixIn |
250 except ImportError: |
250 except ImportError: |
251 if hasattr(os, "fork"): |
251 if hasattr(os, "fork"): |
252 _mixin = SocketServer.ForkingMixIn |
252 _mixin = SocketServer.ForkingMixIn |
253 else: |
253 else: |
254 class _mixin: |
254 class _mixin(object): |
255 pass |
255 pass |
256 |
256 |
257 def openlog(opt, default): |
257 def openlog(opt, default): |
258 if opt and opt != '-': |
258 if opt and opt != '-': |
259 return open(opt, 'a') |
259 return open(opt, 'a') |