Index: CVSROOT/postcommit_actions =================================================================== RCS file: /usr/local/cvsroot/CVSROOT/Attic/postcommit_actions,v diff -u -r1.7 -r1.8 --- CVSROOT/postcommit_actions 23 May 2004 00:17:37 -0000 1.7 +++ CVSROOT/postcommit_actions 21 Jul 2005 13:25:18 -0000 1.8 @@ -59,7 +59,7 @@ import string import getopt import smtplib -import socket, whrandom, getpass +import socket, getpass CVSROOT = os.path.split(SCRIPT_DIR)[0] CVSROOT_ABS = os.path.abspath('..') @@ -224,6 +224,8 @@ doctored_args.append("--wait") tempfile.mktemp() # Throw one away, to get initial template. tempfile.tempdir = "/tmp" +## AG: whrandom is deprecated, so if you uncomment this code, +## use random instead. ## template = (tempfile.template or ## "@%s.%d" % (os.getpid(), whrandom.randint(1000000, 9999999))) ## tempfile.template = "cvs-log" + template