Sfoglia il codice sorgente

Removed some old debugging code

tags/v0.1^2
Ben Kurtovic 12 anni fa
parent
commit
0c7a7c383c
6 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  1. +0
    -1
      earwigbot/commands/afc_report.py
  2. +0
    -1
      earwigbot/commands/afc_status.py
  3. +0
    -1
      earwigbot/commands/editcount.py
  4. +0
    -1
      earwigbot/commands/registration.py
  5. +0
    -1
      earwigbot/commands/rights.py
  6. +1
    -1
      earwigbot/wiki/category.py

+ 0
- 1
earwigbot/commands/afc_report.py Vedi File

@@ -31,7 +31,6 @@ class Command(BaseCommand):

def process(self, data):
self.site = self.bot.wiki.get_site()
self.site._maxlag = None
self.data = data

try:


+ 0
- 1
earwigbot/commands/afc_status.py Vedi File

@@ -45,7 +45,6 @@ class Command(BaseCommand):

def process(self, data):
self.site = self.bot.wiki.get_site()
self.site._maxlag = None

if data.line[1] == "JOIN":
status = " ".join(("\x02Current status:\x0F", self.get_status()))


+ 0
- 1
earwigbot/commands/editcount.py Vedi File

@@ -42,7 +42,6 @@ class Command(BaseCommand):
name = ' '.join(data.args)

site = self.bot.wiki.get_site()
site._maxlag = None
user = site.get_user(name)

try:


+ 0
- 1
earwigbot/commands/registration.py Vedi File

@@ -42,7 +42,6 @@ class Command(BaseCommand):
name = ' '.join(data.args)

site = self.bot.wiki.get_site()
site._maxlag = None
user = site.get_user(name)

try:


+ 0
- 1
earwigbot/commands/rights.py Vedi File

@@ -40,7 +40,6 @@ class Command(BaseCommand):
name = ' '.join(data.args)

site = self.bot.wiki.get_site()
site._maxlag = None
user = site.get_user(name)

try:


+ 1
- 1
earwigbot/wiki/category.py Vedi File

@@ -78,7 +78,7 @@ class Category(Page):
if not limit:
params["cmlimit"] = 50 # Default value

result = self._site._api_query(params)
result = self._site.api_query(**params)
members = result['query']['categorymembers']
return [member["title"] for member in members]



Caricamento…
Annulla
Salva