equal
deleted
inserted
replaced
108 elif o == "-c": |
108 elif o == "-c": |
109 wampconf = None if a == "off" else a |
109 wampconf = None if a == "off" else a |
110 elif o == "-s": |
110 elif o == "-s": |
111 wampsecret = None if a == "off" else a |
111 wampsecret = None if a == "off" else a |
112 elif o == "-e": |
112 elif o == "-e": |
113 l = list(os.path.split(os.path.realpath(a))) |
113 fnameanddirname = list(os.path.split(os.path.realpath(a))) |
114 l.reverse() |
114 fnameanddirname.reverse() |
115 extensions.append(l) |
115 extensions.append(fnameanddirname) |
116 else: |
116 else: |
117 usage() |
117 usage() |
118 sys.exit() |
118 sys.exit() |
119 |
119 |
120 |
120 |
553 |
553 |
554 |
554 |
555 def LogException(*exp): |
555 def LogException(*exp): |
556 LogMessageAndException("", exp) |
556 LogMessageAndException("", exp) |
557 |
557 |
|
558 |
558 sys.excepthook = LogException |
559 sys.excepthook = LogException |
559 |
560 |
560 |
561 |
561 def installThreadExcepthook(): |
562 def installThreadExcepthook(): |
562 init_old = threading.Thread.__init__ |
563 init_old = threading.Thread.__init__ |