Show More
@@ -693,7 +693,10 b' def embedded(f, modname, src):' | |||
|
693 | 693 | else: |
|
694 | 694 | script.append(l[4:]) |
|
695 | 695 | continue |
|
696 | if inlinepython and l == b' \n': | |
|
696 | # If we have an empty line or a command for sh, we end the | |
|
697 | # inline script. | |
|
698 | if inlinepython and (l == b' \n' | |
|
699 | or l.startswith(b' $ ')): | |
|
697 | 700 | yield b''.join(script), (b"%s[%d]" % |
|
698 | 701 | (modname, inlinepython)), t, inlinepython |
|
699 | 702 | script = [] |
General Comments 0
You need to be logged in to leave comments.
Login now