[Checkins] SVN: z3c.recipe.dev/trunk/ Escape text.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jan 24 23:20:07 EST 2008


Log message for revision 83220:
  Escape text.
  

Changed:
  U   z3c.recipe.dev/trunk/README.txt
  U   z3c.recipe.dev/trunk/setup.py

-=-
Modified: z3c.recipe.dev/trunk/README.txt
===================================================================
--- z3c.recipe.dev/trunk/README.txt	2008-01-25 04:12:52 UTC (rev 83219)
+++ z3c.recipe.dev/trunk/README.txt	2008-01-25 04:20:00 UTC (rev 83220)
@@ -1,9 +1,5 @@
-=========================
-Zope 3 development recipe
-=========================
-
-The z3c.recipe.dev:app generates start scripts and configuration files for 
+The ``z3c.recipe.dev:app`` generates start scripts and configuration files for
 starting a egg based Zope 3 setup.
 
-The z3c.recipe.dev:script generates a hook to a existing python module and 
+The ``z3c.recipe.dev:script`` generates a hook to a existing python module and
 allows to execute a python method including eggs in sys path.

Modified: z3c.recipe.dev/trunk/setup.py
===================================================================
--- z3c.recipe.dev/trunk/setup.py	2008-01-25 04:12:52 UTC (rev 83219)
+++ z3c.recipe.dev/trunk/setup.py	2008-01-25 04:20:00 UTC (rev 83220)
@@ -16,11 +16,13 @@
 $Id: setup.py 82497 2007-12-28 14:59:22Z rogerineichen $
 """
 import os
+import xml.sax.saxutils
 from setuptools import setup, find_packages
 
 
 def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    return xml.sax.saxutils.escape(text)
 
 setup(
     name = 'z3c.recipe.dev',



More information about the Checkins mailing list