瀏覽代碼

Removed some old debugging code

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
0c7a7c383c
共有 6 個文件被更改,包括 1 次插入6 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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



Loading…
取消
儲存