[asterisk-dev] Change in repotools[master]: Ignore JIRA uploads with license #2.
Matt Jordan (Code Review)
asteriskteam at digium.com
Thu Mar 26 19:40:34 CDT 2015
Matt Jordan has submitted this change and it was merged.
Change subject: Ignore JIRA uploads with license #2.
......................................................................
Ignore JIRA uploads with license #2.
License #2 is used for files that are not patches or documentation.
Ignore any files with this license since they are not covered by
a CLA.
Change-Id: Ia76d2fe7e7357901f0e38b158b42f4323ccd120f
---
M commit_msg.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Michael L. Young: Looks good to me, but someone else must approve
Matt Jordan: Looks good to me, approved; Verified
diff --git a/commit_msg.py b/commit_msg.py
index e342d47..f9b8849 100755
--- a/commit_msg.py
+++ b/commit_msg.py
@@ -64,7 +64,8 @@
licenseid = json.loads(res.read())['properties']['license']
except:
'''Supress Exception'''
- attachments.append(" %s submitted by %s (license %d)" % (x['filename'], x['author']['name'], licenseid))
+ if licenseid != 2:
+ attachments.append(" %s submitted by %s (license %d)" % (x['filename'], x['author']['name'], licenseid))
except:
attachments = None
patches = None
--
To view, visit https://gerrit.asterisk.org/12
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia76d2fe7e7357901f0e38b158b42f4323ccd120f
Gerrit-PatchSet: 1
Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Michael L. Young <elgueromexicano at gmail.com>
More information about the asterisk-dev
mailing list