Explorar el Código

Two minor changes

tags/v0.1^2
Ben Kurtovic hace 12 años
padre
commit
ce1e598421
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +2
    -2
      README.rst
  2. +1
    -1
      earwigbot/managers.py

+ 2
- 2
README.rst Ver fichero

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

@@ -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."""


Cargando…
Cancelar
Guardar