r80605 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80604‎ | r80605 | r80606 >
Date:00:33, 20 January 2011
Author:rfaulk
Status:deferred
Tags:
Comment:
minor change to add close() call in read_sql method.
Modified paths:
  • /trunk/fundraiser-statistics/fundraiser-scripts/miner_help.py (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/fundraiser-scripts/miner_help.py
@@ -90,7 +90,9 @@
9191 while (line != ''):
9292 sql_stmnt = sql_stmnt + line
9393 line = sql_file.readline()
94 -
 94+
 95+ sql_file.close()
 96+
9597 return sql_stmnt
9698
9799 def drange(start, stop, step):

Status & tagging log