[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZReST/ZReST.py 'stylesheet' is now by default empty...docutils 0.4

Andreas Jung andreas at andreas-jung.com
Mon Mar 13 08:42:57 EST 2006


Log message for revision 65941:
  'stylesheet' is now by default empty...docutils 0.4
  will raise an exception for the current 'default.css' which
  is not available by default
  

Changed:
  U   Zope/trunk/lib/python/Products/ZReST/ZReST.py

-=-
Modified: Zope/trunk/lib/python/Products/ZReST/ZReST.py
===================================================================
--- Zope/trunk/lib/python/Products/ZReST/ZReST.py	2006-03-13 13:26:00 UTC (rev 65940)
+++ Zope/trunk/lib/python/Products/ZReST/ZReST.py	2006-03-13 13:42:57 UTC (rev 65941)
@@ -56,7 +56,7 @@
                  input_encoding=None):
         self.id = id
         self.title = id
-        self.stylesheet = 'default.css'
+        self.stylesheet = ''
         self.report_level = '2'
         self.source = ''
 
@@ -201,6 +201,7 @@
                 'output_encoding': self.output_encoding,
                 'initial_header_level' : 1,
                 'stylesheet' : self.stylesheet,
+                'stylesheet_path' : None,
                 'pub.settings.warning_stream' :  Warnings(),
                 'file_insertion_enabled' : 0,
                 }



More information about the Zope-Checkins mailing list