Last modified: 2014-07-27 01:47:48 UTC
If coordinate_import is called without any parameters, it produces an exception. $ python pwb.py scripts/coordinate_import.py Traceback (most recent call last): File "pwb.py", line 157, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/coordinate_import.py", line 91, in <module> main() File "scripts/coordinate_import.py", line 88, in main coordbot.run() File "scripts/coordinate_import.py", line 50, in run for page in self.generator: File ".../pywikibot/pagegenerators.py", line 973, in PreloadingGenerator for page in generator: TypeError: 'NoneType' object is not iterable <type 'exceptions.TypeError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Change 149488 had a related patch set uploaded by Ricordisamoa: call showHelp() instead of raising TypeError in coordinate_import.py https://gerrit.wikimedia.org/r/149488
Change 149488 merged by jenkins-bot: call showHelp() instead of raising TypeError in coordinate_import.py https://gerrit.wikimedia.org/r/149488