[llvm-commits] CVS: llvm-www/releases/register.cgi
John Criswell
criswell at cs.uiuc.edu
Thu Dec 18 15:02:02 PST 2003
Changes in directory llvm-www/releases:
register.cgi updated: 1.11 -> 1.12
---
Log message:
Use Python's pickling abilities to save all of the registration information.
---
Diffs of the changes: (+2 -1)
Index: llvm-www/releases/register.cgi
diff -u llvm-www/releases/register.cgi:1.11 llvm-www/releases/register.cgi:1.12
--- llvm-www/releases/register.cgi:1.11 Thu Dec 18 13:50:55 2003
+++ llvm-www/releases/register.cgi Thu Dec 18 15:01:03 2003
@@ -6,6 +6,7 @@
import os
import fcntl
import sys
+import pickle
# List of email addresses that want to know when people download
notifylist=['vadve at cs.uiuc.edu', 'criswell at uiuc.edu', 'sabre at nondot.org']
@@ -189,7 +190,7 @@
try:
logfile = file (logfilename, 'a')
fcntl.lockf (logfile, fcntl.LOCK_EX)
- logfile.write (email + ':' + firstname + ':' + lastname + ':' + organization + ':' + title + '\n')
+ pickle.dump ((email, firstname, lastname, organization, title, plans), logfile)
logfile.flush ()
fcntl.lockf (logfile, fcntl.LOCK_UN)
logfile.close ()
More information about the llvm-commits
mailing list