fedora-vote castvote.cgi, 1.15, 1.16 fedora-vote.conf, 1.1, 1.2 vote.cgi, 1.14, 1.15

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Mon Apr 21 04:30:17 UTC 2008


Author: toshio

Update of /cvs/fedora/fedora-vote
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6183

Modified Files:
	castvote.cgi fedora-vote.conf vote.cgi 
Log Message:
* Fix some syntax errors in config.  Fix lack of username when printing header.



Index: castvote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/castvote.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- castvote.cgi	21 Apr 2008 02:41:14 -0000	1.15
+++ castvote.cgi	21 Apr 2008 04:30:03 -0000	1.16
@@ -128,7 +128,7 @@
     else:
         pageTitle = 'Fedora Voting App -- Error Page'
 
-    website.print_header(pageTitle, username)
+    website.print_header(pageTitle)
 
     print content
     website.print_footer(pageTitle, 'http://www.fedoraproject.org')


Index: fedora-vote.conf
===================================================================
RCS file: /cvs/fedora/fedora-vote/fedora-vote.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fedora-vote.conf	21 Apr 2008 02:07:28 -0000	1.1
+++ fedora-vote.conf	21 Apr 2008 04:30:05 -0000	1.2
@@ -1,9 +1,10 @@
 [global]
-fas_username = ''
-fas_password = ''
-fas_url = 'https://admin.fedoraproject.org/accounts/'
-election_name = 'Fedora Localization Steering Committee April 2008'
+# Note: No quotation marks for strings.
+fas_username = 
+fas_password = 
+fas_url = https://admin.fedoraproject.org/accounts/
+election_name = Fedora Localization Steering Committee April 2008
 # Type is either poll or election
-# This doesn't work yet.  We need to examine the code to know how these two
+# This doesnt work yet.  We need to examine the code to know how these two
 # will differ.
-#election_type = 'poll'
+#election_type = poll


Index: vote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/vote.cgi,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- vote.cgi	21 Apr 2008 03:52:51 -0000	1.14
+++ vote.cgi	21 Apr 2008 04:30:05 -0000	1.15
@@ -153,6 +153,6 @@
     else:
         pageTitle = 'Fedora Voting App -- Error Page'
 
-    website.print_header(pageTitle, username)
+    website.print_header(pageTitle)
     print content
     website.print_footer(pageTitle)




More information about the fedora-extras-commits mailing list