[Pcsclite-cvs-commit] r5232 - in /website: ccid.html matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Sep 3 12:30:05 UTC 2010


Author: rousseau
Date: Fri Sep  3 12:30:01 2010
New Revision: 5232

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5232
Log:
Move the generated html files in ccid/

Modified:
    website/ccid.html
    website/matrix.py

Modified: website/ccid.html
URL: http://svn.debian.org/wsvn/pcsclite/website/ccid.html?rev=5232&op=diff
==============================================================================
--- website/ccid.html (original)
+++ website/ccid.html Fri Sep  3 12:30:01 2010
@@ -222,12 +222,12 @@
   <h2>CCID/ICCD readers</h2>
 
   <ul>
-	  <li><a href="supported.html">Supported</a> readers</li>
-	  <li><a href="shouldwork.html">Should work</a> readers</li>
-	  <li><a href="unsupported.html">Unsupported</a> readers</li>
-  </ul>
-
-  <p>All the readers are also included in a <a href="section.html">big matrix</a>.</p>
+	  <li><a href="ccid/supported.html">Supported</a> readers</li>
+	  <li><a href="ccid/shouldwork.html">Should work</a> readers</li>
+	  <li><a href="ccid/unsupported.html">Unsupported</a> readers</li>
+  </ul>
+
+  <p>All the readers are also included in a <a href="ccid/section.html">big matrix</a>.</p>
 
   <h2>Supported and unsupported operating systems</h2>
 

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=5232&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Sep  3 12:30:01 2010
@@ -253,7 +253,7 @@
     """
     read a complete svn2cl Changelog file and merge commits on one line
     """
-    lines = open("readers/ChangeLog").readlines()
+    lines = open("ccid/readers/ChangeLog").readlines()
     changelog = list()
     p = list()
 
@@ -314,7 +314,7 @@
     manufacturers.sort(key=str.lower)
 
     template = templayer.HTMLTemplate("webpage.template")
-    file_writer = template.start_file(file=file(section + ".html", "w"))
+    file_writer = template.start_file(file=file("ccid/" + section + ".html", "w"))
     main_layer = file_writer.open(date=time.asctime(),
         title=title, comment=comment, section=section)
 
@@ -412,7 +412,7 @@
     </ul>
     """
 
-    file = open(field + ".html", "w")
+    file = open("ccid/" + field + ".html", "w")
     title = "Readers sorted by '%s' field" % field
     file.write(header % title)
 




More information about the Pcsclite-cvs-commit mailing list