commit 5e3ce7992249815bce89fd8d7626bc507e3991d0 parent 3084f08b190f49042767511b089cc4b5e12b8279 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 7 Jun 2012 11:30:55 +0200 don't print pages multiple times Diffstat:
wikifirc | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/wikifirc b/wikifirc @@ -34,6 +34,8 @@ class Line: return self.data def register(pages, page): + if page in pages: + return pages.add(page) print(page, file=sys.stderr)