Merge pull request #152 from sadayuki-matsuno/delete_sqlite

delete sqlite3
This commit is contained in:
Kota Kanbe
2016-09-06 13:19:07 +09:00
committed by GitHub
25 changed files with 241 additions and 465 deletions

View File

@@ -522,7 +522,7 @@ func (o *debian) parseChangelog(changelog string,
o.log.Debugf("Found the stop line. line: %s", line)
stopLineFound = true
break
} else if matches := cveRe.FindAllString(line, -1); len(matches) > 0 {
} else if matches := cveRe.FindAllString(line, -1); 0 < len(matches) {
for _, m := range matches {
cveIDs = util.AppendIfMissing(cveIDs, m)
}