freebsd-ports/net-im/jabber-pymsn/files/patch-src_main.py
Renato Botelho 7275f47e69 - Update to 0.11.3
- Change WWW tto point to new project's site
2008-02-08 14:55:55 +00:00

14 lines
466 B
Python

--- src/main.py.orig 2008-02-08 11:55:07.000000000 -0200
+++ src/main.py 2008-02-08 12:43:07.000000000 -0200
@@ -379,7 +379,10 @@
# Set SIGHUP to reload the config file & close & open debug file
signal.signal(signal.SIGHUP, SIGHUPstuff)
# Load some scripts for PID and daemonising
- from twisted.scripts import _twistd_unix as twistd
+ try:
+ from twisted.scripts import _twistd_unix as twistd
+ except:
+ from twisted.scripts import twistd
def main():