summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 578f02c..cb57bff 100755
--- a/generator.py
+++ b/generator.py
@@ -754,6 +754,9 @@ def writeDoc(name, args, indent, output):
output.write(indent)
output.write('"""')
while len(val) > 60:
+ if val[0] == " ":
+ val = val[1:]
+ continue
str = val[0:60]
i = string.rfind(str, " ");
if i < 0: