Commit 26349f93 authored by sm's avatar sm

Minutia

parent 2a4a0bb4
......@@ -156,6 +156,8 @@ def getLastVersionAndDateFromChanged(sPrjName, sChangedFilePath, nSkip):
for sLine in oF:
oMatch = oChangeEntryPatt.search(sLine)
if oMatch:
if bWithinEntry:
raise RuntimeError("Changes file '" + sChangedFilePath + "' faulty: entry start without end")
if nSkip < 0:
raise RuntimeError("Changes file '" + sChangedFilePath + "' faulty: entry start without end")
sLastVersion = oMatch.group(1);
......
......@@ -172,6 +172,8 @@ def getLastVersionAndDateFromChanged(sPrjName, sChangedFilePath, nSkip):
for sLine in oF:
oMatch = oChangeEntryPatt.search(sLine)
if oMatch:
if bWithinEntry:
raise RuntimeError("Changes file '" + sChangedFilePath + "' faulty: entry start without end")
if nSkip < 0:
raise RuntimeError("Changes file '" + sChangedFilePath + "' faulty: entry start without end")
sLastVersion = oMatch.group(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment