[Pywikipedia-l] [ pywikipediabot-Bugs-1852163 ] replace -except[text|title] syntax

SourceForge.net noreply at sourceforge.net
Mon Dec 17 08:15:01 UTC 2007


Bugs item #1852163, was opened at 2007-12-17 19:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852163&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Vandenberg (zeroj)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace -except[text|title] syntax

Initial Comment:
The syntax in replace.py is broken in the latest revision.

Calling with -excepttext results in:

Traceback (most recent call last):
  File "replace.py", line 602, in ?
    main()
  File "replace.py", line 598, in main
    bot.run()
  File "replace.py", line 329, in run
    if self.isTextExcepted(original_text):
  File "replace.py", line 288, in isTextExcepted
    if exc.find(original_text) > -1:
AttributeError: find


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852163&group_id=93107



More information about the Pywikipedia-l mailing list