[Scodoc-devel] [SVN] Scolar : [1204] 2 bugs:

eviennet at lipn.univ-paris13.fr eviennet at lipn.univ-paris13.fr
Mer 13 Mar 09:47:39 CET 2013


Une pièce jointe HTML a été nettoyée...
URL: <https://www-rt.iutv.univ-paris13.fr/pipermail/scodoc-devel/attachments/20130313/4eec2f83/attachment.html>
-------------- section suivante --------------
Modified: trunk/SuppressAccents.py
===================================================================
--- trunk/SuppressAccents.py	2013-03-12 22:57:32 UTC (rev 1203)
+++ trunk/SuppressAccents.py	2013-03-13 08:47:39 UTC (rev 1204)
@@ -57,6 +57,7 @@
         (u" ",  [0x00A0]), # &nbsp
         (u"",  [0xB0]), # degre
         (u"",  [0xA9]), # copyright
+        (u"1/2",  [0xBD]), # 1/2
         ]
     global _reptable
     for repchar,codes in _corresp :

Modified: trunk/ZScolar.py
===================================================================
--- trunk/ZScolar.py	2013-03-12 22:57:32 UTC (rev 1203)
+++ trunk/ZScolar.py	2013-03-13 08:47:39 UTC (rev 1204)
@@ -386,7 +386,7 @@
         """Send an error message to the client, in html or xml format.
         """
         REQUEST.RESPONSE.setStatus(404, reason=msg)
-        if format == 'html':
+        if format == 'html' or format == 'pdf':
             raise ScoValueError(msg)
         elif format == 'xml':
             REQUEST.RESPONSE.setHeader('content-type', XML_MIMETYPE)


Plus d'informations sur la liste de diffusion Scodoc-devel