Explorar el Código

Removed some old debugging code

tags/v0.1^2
Ben Kurtovic hace 12 años
padre
commit
0c7a7c383c
Se han modificado 6 ficheros con 1 adiciones y 6 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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]



Cargando…
Cancelar
Guardar