equal
deleted
inserted
replaced
615 inpython = True |
615 inpython = True |
616 addsalt(prepos, False) # make sure we report the exit code |
616 addsalt(prepos, False) # make sure we report the exit code |
617 script.append('%s -m heredoctest <<EOF\n' % PYTHON) |
617 script.append('%s -m heredoctest <<EOF\n' % PYTHON) |
618 addsalt(n, True) |
618 addsalt(n, True) |
619 script.append(l[2:]) |
619 script.append(l[2:]) |
620 if l.startswith(' ... '): # python inlines |
620 elif l.startswith(' ... '): # python inlines |
621 after.setdefault(prepos, []).append(l) |
621 after.setdefault(prepos, []).append(l) |
622 script.append(l[2:]) |
622 script.append(l[2:]) |
623 elif l.startswith(' $ '): # commands |
623 elif l.startswith(' $ '): # commands |
624 if inpython: |
624 if inpython: |
625 script.append("EOF\n") |
625 script.append("EOF\n") |