[Erp5-report] r13771 - /erp5/trunk/products/ERP5/Tool/ContributionOpener.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 29 00:41:27 CEST 2007


Author: jp
Date: Thu Mar 29 00:41:27 2007
New Revision: 13771

URL: http://svn.erp5.org?rev=13771&view=rev
Log:
Add title and remove bogus slash.

Modified:
    erp5/trunk/products/ERP5/Tool/ContributionOpener.py

Modified: erp5/trunk/products/ERP5/Tool/ContributionOpener.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/ContributionOpener.py?rev=13771&r1=13770&r2=13771&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/ContributionOpener.py (original)
+++ erp5/trunk/products/ERP5/Tool/ContributionOpener.py Thu Mar 29 00:41:27 2007
@@ -55,8 +55,9 @@
               file_list = dircache.listdir(localfile)
               s = StringIO()
               s.write('<html><head><base href="%s"/></head><body>' % ('file:' + file))
+              s.write('<p>Directory Content:</p>')
               for f in file_list:
-                s.write('<p><a href="%s/">%s</a></p>\n' % (urllib.quote(f), f))
+                s.write('<p><a href="%s">%s</a></p>\n' % (urllib.quote(f), f))
               s.write('</body></html>')
               s.seek(0)
               headers = mimetools.Message(StringIO(




More information about the Erp5-report mailing list