[Mailman-Users] socket.gethostname()

John Poltorak jp at warpix.org
Thu Nov 6 18:43:34 CET 2003

I'm getting an error in LockFile.py at this point (line 180) :-

        self.__tmpfname = '%s.%s.%d' % (
            lockfile, socket.gethostname(), os.getpid())

It looks as though the function socket.gethostname() is causing this 

How can I display the value returned by this funtion and where should it 
be retrieved from? ie should it be using $HOSTNAME ?


More information about the Mailman-Users mailing list