count += 1\r
\r
def check_contributed_under(self):\r
- cu_msg='Contributed-under: TianoCore Contribution Agreement 1.0'\r
+ cu_msg='Contributed-under: TianoCore Contribution Agreement 1.1'\r
if self.msg.find(cu_msg) < 0:\r
- self.error('Missing Contributed-under! (Note: this must be ' +\r
- 'added by the code contributor!)')\r
+ # Allow 1.0 for now while EDK II community transitions to 1.1\r
+ cu_msg='Contributed-under: TianoCore Contribution Agreement 1.0'\r
+ if self.msg.find(cu_msg) < 0:\r
+ self.error('Missing Contributed-under! (Note: this must be ' +\r
+ 'added by the code contributor!)')\r
\r
@staticmethod\r
def make_signature_re(sig, re_input=False):\r
if self.state == START:\r
if line.startswith('diff --git'):\r
self.state = PRE_PATCH\r
- self.filename = line[13:].split(' ',1)[0]\r
+ self.filename = line[13:].split(' ', 1)[0]\r
self.is_newfile = False\r
self.force_crlf = not self.filename.endswith('.sh')\r
elif len(line.rstrip()) != 0:\r