瀏覽代碼

Two minor changes

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
ce1e598421
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      README.rst
  2. +1
    -1
      earwigbot/managers.py

+ 2
- 2
README.rst 查看文件

@@ -346,8 +346,8 @@ and the following methods:
object for the given title (sans namespace)
- ``get_user(username)``: returns a ``User`` object for the given username

Pages (and Categories)
~~~~~~~~~~~~~~~~~~~~~~
Pages and categories
~~~~~~~~~~~~~~~~~~~~

Create ``Page`` objects with ``site.get_page(title)``,
``page.toggle_talk()``, ``user.get_userpage()``, or ``user.get_talkpage()``.


+ 1
- 1
earwigbot/managers.py 查看文件

@@ -161,7 +161,7 @@ class CommandManager(_ResourceManager):
command.process(data)
except Exception:
e = "Error executing command '{0}':"
self.logger.exception(e.format(data.command))
self.logger.exception(e.format(command.name))

def call(self, hook, data):
"""Given a hook type and a Data object, respond appropriately."""


Loading…
取消
儲存