[Pywikipedia-l] [ pywikipediabot-Patches-1980786 ] add_text.py using page.put not put_async
SourceForge.net
noreply at sourceforge.net
Sat May 31 19:09:10 UTC 2008
Patches item #1980786, was opened at 2008-05-31 17:01
Message generated for change (Comment added) made by filnik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1980786&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: None
Priority: 5
Private: No
Submitted By: Uberfuzzy (uberfuzzy)
>Assigned to: Filnik (filnik)
Summary: add_text.py using page.put not put_async
Initial Comment:
Index: add_text.py
===================================================================
--- add_text.py (revision 5485)
+++ add_text.py (working copy)
@@ -195,7 +195,7 @@
return (False, always)
if choice == 'y' or always:
try:
- page.put(newtext, summary)
+ page.put_async(newtext, summary)
except wikipedia.EditConflict:
wikipedia.output(u'Edit conflict! skip!')
return (False, always)
----------------------------------------------------------------------
>Comment By: Filnik (filnik)
Date: 2008-05-31 19:09
Message:
Logged In: YES
user_id=1834469
Originator: NO
Done, according to the way done on replace.py (using the normal put if you
set -always as True).
So, Fixed in the revision 5486.
Filnik
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1980786&group_id=93107
More information about the Pywikipedia-l
mailing list