changeset 39062 | efeeb73f54c3 |
parent 38972 | 4d992e3f10ba |
child 39064 | a2fa7247ca70 |
39061:b3c6c194f33a | 39062:efeeb73f54c3 |
---|---|
2719 continue |
2719 continue |
2720 |
2720 |
2721 if line.startswith(b'#'): |
2721 if line.startswith(b'#'): |
2722 continue |
2722 continue |
2723 |
2723 |
2724 if not line.startswith(' '): |
2724 if not line.startswith(b' '): |
2725 # New block. Flush previous one. |
2725 # New block. Flush previous one. |
2726 if activeaction: |
2726 if activeaction: |
2727 yield activeaction, blocklines |
2727 yield activeaction, blocklines |
2728 |
2728 |
2729 activeaction = line |
2729 activeaction = line |