r85572 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85571‎ | r85572 | r85573 >
Date:21:11, 6 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Fixed datacompetition flag in command line parser.
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
@@ -157,7 +157,7 @@
158158
159159
160160 parser.add_argument('-k', '--kaggle',
161 - action='store',
 161+ action='store_true',
162162 help='Indicate whether the output is for Kaggle or not',
163163 default=False)
164164
Index: trunk/tools/editor_trends/classes/runtime_settings.py
@@ -166,7 +166,7 @@
167167 print '''This software comes with ABSOLUTELY NO WARRANTY. This is free
168168 software, and you are welcome to distribute it under certain conditions.'''
169169 print 'See the README.1ST file for more information.'
170 - print '\nPlatform: %s' % self.platform
 170+ print '\nPlatform: %s:%s' % (self.platform, self.architecture)
171171
172172 print 'Final settings after parsing command line arguments:'
173173 for ab in about: