[llvm-commits] CVS: llvm-www/releases/testregister.cgi
John Criswell
criswell at cs.uiuc.edu
Thu Dec 18 11:32:01 PST 2003
Changes in directory llvm-www/releases:
testregister.cgi updated: 1.7 -> 1.8
---
Log message:
Fixed errors.
---
Diffs of the changes: (+3 -3)
Index: llvm-www/releases/testregister.cgi
diff -u llvm-www/releases/testregister.cgi:1.7 llvm-www/releases/testregister.cgi:1.8
--- llvm-www/releases/testregister.cgi:1.7 Thu Dec 18 11:26:37 2003
+++ llvm-www/releases/testregister.cgi Thu Dec 18 11:31:42 2003
@@ -4,8 +4,8 @@
import urllib
import smtplib
import os
+import fcntl
import sys
-import Cookie
# List of email addresses that want to know when people download
notifylist=['criswell at uiuc.edu']
@@ -151,8 +151,8 @@
#
# Open the logfile, lock it, and write a new entry.
#
- logfile = file (logfilename, 'ra')
- os.lockf (logfile, os.LOCK_EX)
+ logfile = file (logfilename, 'a')
+ fcntl.lockf (logfile, fcntl.LOCK_EX)
logfile.write (email + ':' + lastname + ':' + firstname + '\n')
logfile.flush ()
logfile.close ()
More information about the llvm-commits
mailing list