diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/package_ipk.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index fa47385fa8..c7cec9d63d 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
| @@ -145,7 +145,11 @@ python do_package_ipk () { | |||
| 145 | # We don't limit the width when manually indent, but we do | 145 | # We don't limit the width when manually indent, but we do |
| 146 | # need the textwrap.fill() to set the initial_indent and | 146 | # need the textwrap.fill() to set the initial_indent and |
| 147 | # subsequent_indent, so set a large width | 147 | # subsequent_indent, so set a large width |
| 148 | ctrlfile.write('%s\n' % textwrap.fill(t.strip(), width=100000, initial_indent=' ', subsequent_indent=' ')) | 148 | line = textwrap.fill(t.strip(), |
| 149 | width=100000, | ||
| 150 | initial_indent=' ', | ||
| 151 | subsequent_indent=' ') or '.' | ||
| 152 | ctrlfile.write('%s\n' % line) | ||
| 149 | else: | 153 | else: |
| 150 | # Auto indent | 154 | # Auto indent |
| 151 | ctrlfile.write('%s\n' % textwrap.fill(description, width=74, initial_indent=' ', subsequent_indent=' ')) | 155 | ctrlfile.write('%s\n' % textwrap.fill(description, width=74, initial_indent=' ', subsequent_indent=' ')) |
