ubuntu-specific modifications of pymsnt

Sam Morris sam at robots.org.uk
Tue Jun 5 21:11:39 BST 2007


Hi there,

I maintain the Debian package of pymsnt. I recently found the utnubu
service that displays the differences between Debian packages and their
counterparts in Ubuntu. I looked up pymsnt and saw that you're patching
the code like so:

        diff -Nur pymsnt-0.11.2/src/main.py pymsnt-0.11.2.new/src/main.py
        --- pymsnt-0.11.2/src/main.py	2006-10-18 14:40:55.000000000 +1000
        +++ pymsnt-0.11.2.new/src/main.py	2007-04-05 10:14:37.000000000 +1000
        @@ -390,7 +390,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
        +	try:
        +		from twisted.scripts import _twistd_unix as twistd
        +	except:
        +		from twisted.scripts import twistd
         
         
         def main():

Could someone please let me know what the purpose of this patch is?

In addition it would be nice if you could push changes upstream to the
maintainer of the Debian package and to the original upstream
developers, so that other users of Debian, Debian-derived distributions
and other distributions can benefit from them. :)

Regards,

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20070605/8bb08c29/attachment.pgp 


More information about the Ubuntu-motu mailing list