Quellcode durchsuchen

Removed some old debugging code

tags/v0.1^2
Ben Kurtovic vor 12 Jahren
Ursprung
Commit
0c7a7c383c
6 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

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



||||||
x
 
000:0
Laden…
Abbrechen
Speichern