6102d422b5ba — Marcin Cieślak a month ago
cleanup, update to py3
2 files changed, 9 insertions(+), 4 deletions(-)

M .hgignore
M plwiki/test/antispam.py
M .hgignore +5 -0
@@ 20,3 20,8 @@ ssl/Root-R4.pem
 ssl/Root-R5.pem
 plwiki/chemia/compfile
 plwiki/chemia/bad
+compfile
+bad
+*lwp
+throttle.ctrl
+apicache-py3/

          
M plwiki/test/antispam.py +4 -4
@@ 1,4 1,4 @@ 
-import wikitest
-site = wikitest.getSite('pl','wikipedia')
-p = wikitest.Page(site, u"Wikipedysta:Miner/Test")
-p.put(open("/etc/motd").read())
+import pywikibot
+site = pywikibot.Site('pl','wikipedia')
+p = pywikibot.Page(site, u"Wikipedysta:Saper/brudnopis")
+p.put(u"Mogę edytować" + p.get())