Browse Source

Merge 17af6d3031 into 204cbce45e

pull/45/merge
Kunal Mehta 11 years ago
parent
commit
2c0c5b4871
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      earwigbot/commands/lag.py

+ 2
- 2
earwigbot/commands/lag.py View File

@@ -24,7 +24,7 @@ from earwigbot import exceptions
from earwigbot.commands import Command from earwigbot.commands import Command


class Lag(Command): class Lag(Command):
"""Return the replag for a specific database on the Toolserver."""
"""Return the replag for a specific database on Labs."""
name = "lag" name = "lag"
commands = ["lag", "replag", "maxlag"] commands = ["lag", "replag", "maxlag"]


@@ -45,7 +45,7 @@ class Lag(Command):
self.reply(data, msg) self.reply(data, msg)


def get_replag(self, site): def get_replag(self, site):
return "Toolserver replag is {0}".format(self.time(site.get_replag()))
return "Labs replag is {0}".format(self.time(site.get_replag()))


def get_maxlag(self, site): def get_maxlag(self, site):
return "database maxlag is {0}".format(self.time(site.get_maxlag())) return "database maxlag is {0}".format(self.time(site.get_maxlag()))


Loading…
Cancel
Save