Commit 422664a
committed
Fix indentation problem with _asyncify
If the input to `_asyncify` contains newlines, the strategy of indenting
and then truncating the first 8 characters won't work, since the first,
empty line doesn't get indented. Instead I've changed the format string
to accept the normal output of textwrap.indent() without modification.1 parent b210342 commit 422664a
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 72 | | |
79 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments