[Pywikipedia-l] SVN: [6611] trunk/pywikipedia/wikipedia.py
cosoleto at svn.wikimedia.org
cosoleto at svn.wikimedia.org
Thu Apr 16 15:41:15 UTC 2009
Revision: 6611
Author: cosoleto
Date: 2009-04-16 15:41:15 +0000 (Thu, 16 Apr 2009)
Log Message:
-----------
Print 'Checked for running processes...' message only if verbose mode is enabled, as it isn't so important. See also bug #2744221
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2009-04-16 10:26:26 UTC (rev 6610)
+++ trunk/pywikipedia/wikipedia.py 2009-04-16 15:41:15 UTC (rev 6611)
@@ -3241,7 +3241,8 @@
f.write(str(p)+' '+str(processes[p])+'\n')
f.close()
self.process_multiplicity = count
- output(u"Checked for running processes. %s processes currently running, including the current process." % count)
+ if verbose:
+ output(u"Checked for running processes. %s processes currently running, including the current process." % count)
finally:
self.lock.release()
More information about the Pywikipedia-l
mailing list