## @file\r
# Check a patch for various format issues\r
#\r
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials are licensed and made\r
# available under the terms and conditions of the BSD License which\r
from __future__ import print_function\r
\r
VersionNumber = '0.1'\r
-__copyright__ = "Copyright (c) 2015, Intel Corporation All rights reserved."\r
+__copyright__ = "Copyright (c) 2015 - 2016, Intel Corporation All rights reserved."\r
\r
import email\r
import argparse\r
self.error('Empty commit message!')\r
return\r
\r
- if count >= 1 and len(lines[0]) > 76:\r
+ if count >= 1 and len(lines[0]) >= 72:\r
self.error('First line of commit message (subject line) ' +\r
'is too long.')\r
\r
'empty.')\r
\r
for i in range(2, count):\r
- if (len(lines[i]) > 76 and\r
+ if (len(lines[i]) >= 76 and\r
len(lines[i].split()) > 1 and\r
not lines[i].startswith('git-svn-id:')):\r
self.error('Line %d of commit message is too long.' % (i + 1))\r