https://bugzilla.wikimedia.org/show_bug.cgi?id=68662
Bug ID: 68662 Summary: transferbot raises ugly exception if zero cmd line arguments are given Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: General Assignee: pywikipedia-b...@lists.wikimedia.org Reporter: jay...@gmail.com Web browser: --- Mobile Platform: --- $ python pwb.py transferbot 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/transferbot.py", line 132, in <module> main() File "scripts/transferbot.py", line 78, in main raise Exception('Target site not different from source site') Exception: Target site not different from source site <type 'exceptions.Exception'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort It should give a pretty message, and/or show help, but at least it is informative. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l