Author: sebastien.lelong
Date: Thu Oct 9 09:39:27 2008
New Revision: 376
Modified:
trunk/tools/jalapi.py
Log:
fix: \n were too much eaten...
Modified: trunk/tools/jalapi.py
==============================================================================
--- trunk/tools/jalapi.py (original)
+++ trunk/tools/jalapi.py Thu Oct 9 09:39:27 2008
@@ -58,7 +58,7 @@
for field_dict in jsg_validator.FIELDS:
# Special case: when still '--' comment chars,this means new
paragraph
c = jsg_validator.validate_field(header,**field_dict)
- c = c and "".join(map(lambda c:
re.sub("^--","\n\n",c.strip()),c.split("\n"))) or c
+ c = c and "\n".join(map(lambda c:
re.sub("^--","\n\n",c),c.split("\n")))
or c
dhead[field_dict['field']] = c
# now deals with procedure/function definitions
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---