Re: [Mailman-Users] socket.gethostname()

2003-11-06 Thread Richard Barrett
On Thursday, November 6, 2003, at 10:43 pm, John Poltorak wrote: On Thu, Nov 06, 2003 at 05:59:28PM +, Richard Barrett wrote: import socket socket.gethostname() 'mailman2' Where does value originate and should it match anything within Mailman's configuration? It originates within the system

Re: [Mailman-Users] socket.gethostname()

2003-11-06 Thread John Poltorak
On Thu, Nov 06, 2003 at 05:59:28PM +, Richard Barrett wrote: > > import socket > > socket.gethostname() > >> 'mailman2' > > > > Where does value originate and should it match anything within > > Mailman's > > configuration? > > > > It originates within the system kernel. Read the man

Re: [Mailman-Users] socket.gethostname()

2003-11-06 Thread Richard Barrett
On Thursday, November 6, 2003, at 06:17 pm, John Poltorak wrote: On Thu, Nov 06, 2003 at 04:57:12PM +, Richard Barrett wrote: On Thursday, November 6, 2003, at 05:43 pm, John Poltorak wrote: I'm getting an error in LockFile.py at this point (line 180) :- self.__tmpfname = '%s.%s.

Re: [Mailman-Users] socket.gethostname()

2003-11-06 Thread John Poltorak
On Thu, Nov 06, 2003 at 04:57:12PM +, Richard Barrett wrote: > > On Thursday, November 6, 2003, at 05:43 pm, John Poltorak wrote: > > > > > > > I'm getting an error in LockFile.py at this point (line 180) :- > > > > self.__tmpfname = '%s.%s.%d' % ( > > lockfile, socket.ge

Re: [Mailman-Users] socket.gethostname()

2003-11-06 Thread Richard Barrett
On Thursday, November 6, 2003, at 05:43 pm, John Poltorak wrote: 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 thi

[Mailman-Users] socket.gethostname()

2003-11-06 Thread John Poltorak
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 error. How can I display the value returned by this funtion an