[120930] branches/gsoc14-pip2port/tester.py

gaurav at macports.org gaurav at macports.org
Wed Jun 11 13:20:22 PDT 2014


Revision: 120930
          https://trac.macports.org/changeset/120930
Author:   gaurav at macports.org
Date:     2014-06-11 13:20:22 -0700 (Wed, 11 Jun 2014)
Log Message:
-----------
Updated long description

Modified Paths:
--------------
    branches/gsoc14-pip2port/tester.py

Modified: branches/gsoc14-pip2port/tester.py
===================================================================
--- branches/gsoc14-pip2port/tester.py	2014-06-11 20:02:45 UTC (rev 120929)
+++ branches/gsoc14-pip2port/tester.py	2014-06-11 20:20:22 UTC (rev 120930)
@@ -236,8 +236,13 @@
 #    file.write('long_description    '+dict['description']+'\n\n')
     description = dict['description']
     if description:
-#        description = string.replace(description,'{',' ')
-        lines = textwrap.wrap(dict['description'],width=70)
+        description = string.replace(description,';',' ')
+        description = string.replace(description,'[',' ')
+        description = string.replace(description,']',' ')
+        description = string.replace(description,'{',' ')
+        description = string.replace(description,'}',' ')
+#        lines = textwrap.wrap(dict['description'],width=70)
+        lines = textwrap.wrap(description,width=70)
         file.write('long_description    ')
         for line in lines:
             if line:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140611/ccadf465/attachment.html>


More information about the macports-changes mailing list