diff --git a/flawfinder b/flawfinder index 26ad8e0..6272519 100755 --- a/flawfinder +++ b/flawfinder @@ -156,7 +156,7 @@ def is_svn_diff(sLine): return False def is_gnu_diff(sLine): - if (sLine.find('--- ') == 0): + if sLine.startswith('--- '): return True return False