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

SourceForge.net noreply at sourceforge.net
Wed Dec 19 16:32:09 UTC 2007


Bugs item #1852163, was opened at 2007-12-17 05:15
Message generated for change (Settings changed) made by leogregianin
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: Closed
>Resolution: Fixed
Priority: 7
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


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

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-17 17:29

Message:
Logged In: YES 
user_id=1327030
Originator: NO

Fixed in r4727.

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

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