Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: sitescripts/reports/bin/processReports.py

Issue 5185987562962944: #240 - Remove carriage return characters (CR/LF => LF) (Closed)
Patch Set: Created Aug. 14, 2014, 7:11 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # coding: utf-8 1 # coding: utf-8
2 2
3 # This file is part of the Adblock Plus web scripts, 3 # This file is part of the Adblock Plus web scripts,
4 # Copyright (C) 2006-2014 Eyeo GmbH 4 # Copyright (C) 2006-2014 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
(...skipping 29 matching lines...) Expand all
40 def processReports(): 40 def processReports():
41 for report in getReports(): 41 for report in getReports():
42 guid = report.get('guid', None) 42 guid = report.get('guid', None)
43 reportData = getReport(guid) 43 reportData = getReport(guid)
44 if 'screenshot' in reportData: 44 if 'screenshot' in reportData:
45 saveReport(guid, reportData) 45 saveReport(guid, reportData)
46 46
47 if __name__ == '__main__': 47 if __name__ == '__main__':
48 setupStderr() 48 setupStderr()
49 processReports() 49 processReports()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld