ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/IssueTrackerReporter.py
(Generate patch)

Comparing Python/NinoCode/Active_prgs/IssueTrackerReporter.py (file contents):
Revision 500 by nino.borges, Tue Jan 7 17:58:31 2014 UTC vs.
Revision 501 by nino.borges, Tue Jan 7 21:39:14 2014 UTC

# Line 35 | Line 35 | def SplitIntoPlates(exportFile):
35          else:
36              KPMGStatus = line.split(",")[2]
37              MWEStatus = line.split(",")[3]
38 <            if KPMGStatus == '"Resolved"':
39 <                if MWEStatus == '"Resolved"':
38 >            if KPMGStatus in ['"Resolved"', '"Sent to MWE"','"Closed"','"Transmit to Counsel"'] :
39 >                if MWEStatus in ['"Resolved"','"Closed"']:
40                      closedList.append(line)
41                  else:
42                      openMWEList.append(line)
# Line 74 | Line 74 | def ProcessToHTML(currentMatrix,outputFi
74          outputFile.write("</table></center>\n")
75  
76   if __name__ == '__main__':
77 <    exportFile = "/Users/ninoborges/Dropbox/Misc/export_20140106_191259.csv"
78 <    htmlFile = "/Users/ninoborges/Documents/ITO_Report.html"
77 >    #exportFile = "/Users/ninoborges/Dropbox/Misc/export_20140106_191259.csv"
78 >    #htmlFile = "/Users/ninoborges/Documents/ITO_Report.html"
79 >    exportFile = "T:\honeywell\export_20140106_191259.csv"
80 >    htmlFile = "T:\honeywell\ITO_Report\ITO_Report.html"
81      openMWEList,openKPMGList, closedList = SplitIntoPlates(exportFile)
82      print "mwe list %s"%len(openMWEList)
83      print "kpmg list %s"%len(openKPMGList)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)