https://bugzilla.wikimedia.org/show_bug.cgi?id=55689

--- Comment #1 from Arjuna Rao Chavala <[email protected]> ---
Search argument behavior is not as per expectations

$python pwb.py replace.py  -search:CNREDDY.JPG  -save:cnrtoc.txt "అ" "ఇ"
Traceback (most recent call last):
  File "pwb.py", line 104, in <module>
    run_python_file(fn, args)
  File "pwb.py", line 49, in run_python_file
    exec compile(source, filename, "exec") in main_mod.__dict__
  File "scripts/replace.py", line 696, in <module>
    main()
  File "scripts/replace.py", line 549, in main
    raise pywikibot.Error, 'require even number of replacements.'
pywikibot.exceptions.Error: require even number of replacements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to