[IMPR] Simplify report() method
[IMPR] Simplify report() method

The method never runs into the while loop but break always the loop.
Return from the method instead exit the loop.

Change-Id: I723d581bfd043cd20de3f9137cfbf133f3c3979b

magul/pywikibot-core,PersianWikipedia/pywikibot-core,wikimedia/pywikibot-core,wikimedia/pywikibot-core,magul/pywikibot-core