r84922 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84921‎ | r84922 | r84923 >
Date:21:12, 28 March 2011
Author:diederik
Status:deferred
Tags:
Comment:
Fixed some typos.
Modified paths:
  • /trunk/tools/editor_trends/classes/runtime_settings.py (modified) (history)
  • /trunk/tools/editor_trends/manage.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/manage.py
@@ -548,6 +548,7 @@
549549 %s' % ''.join([f + ',\n' for f in rts.file_choices]),
550550 default='stub-meta-history.xml.gz')
551551
 552+ return project, language, parser
552553
553554 def main():
554555 project, language, parser, = init_args_parser()
Index: trunk/tools/editor_trends/classes/runtime_settings.py
@@ -123,7 +123,9 @@
124124
125125 def determine_chart(self, chart):
126126 requested_charts = []
127 - if chart != None:
 127+ if getattr(chart, 'func_name') == True:
 128+ requested_charts.append(chart.func_name)
 129+ elif chart != None and getattr(chart, 'func_name') == False:
128130 charts = chart.split(',')
129131 available_charts = inventory.available_analyses()
130132 for chart in charts:
@@ -132,6 +134,7 @@
133135 sys.exit(-1)
134136 else:
135137 requested_charts.append(chart)
 138+ print requsted_charts
136139 return requested_charts
137140
138141 def get_project_location(self):