You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@incubator.apache.org by jm...@apache.org on 2020/01/16 00:54:59 UTC
svn commit: r1872845 - in /incubator/public/trunk: clutch.py clutch2.py
Author: jmclean
Date: Thu Jan 16 00:54:59 2020
New Revision: 1872845
URL: http://svn.apache.org/viewvc?rev=1872845&view=rev
Log:
Fixed monthly issue
Modified:
incubator/public/trunk/clutch.py
incubator/public/trunk/clutch2.py
Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1872845&r1=1872844&r2=1872845&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Thu Jan 16 00:54:59 2020
@@ -398,7 +398,7 @@ for row in dom.getElementsByTagName("pod
print(
"ERROR: {0}: expecting a single reportgroup".format(name))
else:
- if reporting[0].getAttribute("monthly") == 'true':
+ if reporting[0].getAttribute("monthly").lower() == 'true':
projects[id]['reportingMonthly'] = True
projects[id]['reportingComments'] = getText(reporting)
projects[id]['hasEntryIssues'] = True
Modified: incubator/public/trunk/clutch2.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch2.py?rev=1872845&r1=1872844&r2=1872845&view=diff
==============================================================================
--- incubator/public/trunk/clutch2.py (original)
+++ incubator/public/trunk/clutch2.py Thu Jan 16 00:54:59 2020
@@ -505,7 +505,7 @@ for row in dom.getElementsByTagName("pod
errorMsg = ["05","Reporting group is either missing or a multiple"]
projects[id]['zFixMeList'].append(errorMsg)
else:
- if reporting[0].getAttribute("monthly") == 'true':
+ if reporting[0].getAttribute("monthly").lower() == 'true':
projects[id]['reportingMonthly'] = True
projects[id]['reportingComments'] = getText(reporting)
projects[id]['hasEntryIssues'] = True
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org