Show More
@@ -96,13 +96,11 b' class patchheader(object):' | |||
|
96 | 96 | |
|
97 | 97 | for line in file(pf): |
|
98 | 98 | line = line.rstrip() |
|
99 |
if line.startswith('diff --git') |
|
|
99 | if (line.startswith('diff --git') | |
|
100 | or (diffstart and line.startswith('+++ '))): | |
|
100 | 101 | diffstart = 2 |
|
101 | 102 | break |
|
102 |
if |
|
|
103 | if line.startswith('+++ '): | |
|
104 | diffstart = 2 | |
|
105 | break | |
|
103 | diffstart = 0 # reset | |
|
106 | 104 | if line.startswith("--- "): |
|
107 | 105 | diffstart = 1 |
|
108 | 106 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now