diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-10-26 19:45:24 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-10-26 19:45:24 +0100 |
commit | 76250afc7cab2eb391680ce71f60e82c5b57b11d (patch) | |
tree | 1df795d395be29a7921eceff6d0af73ceaa26bad | |
parent | 9afab40e570f5c792cfbf5dcb5d89ba5ab80b882 (diff) | |
download | xchat-plugins-liw-76250afc7cab2eb391680ce71f60e82c5b57b11d.tar.gz |
Change debianbugs.py to support bug numbers up to one million.
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debianbugs.py | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 62f2a80..2cc2131 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xchat-plugins-liw (1.2) squeeze; urgency=low + + * Change debianbugs.py to support bug numbers up to one million. + + -- Lars Wirzenius <liw@liw.fi> Tue, 26 Oct 2010 19:44:54 +0100 + xchat-plugins-liw (1.1) squeeze; urgency=low * Upload to squeeze. diff --git a/debianbugs.py b/debianbugs.py index fe09d42..8e512e1 100644 --- a/debianbugs.py +++ b/debianbugs.py @@ -3,6 +3,7 @@ Place in your .xchat2 directory and either reload X-Chat or /PY LOAD topicdiff.py +0.6 26 Oct 2010 Allow bug numbers up to one million. 0.5 23 Jun 2008 Add support for Ubuntu/Launchpad. 0.4 21 May 2006 Change channel pattern from *debian* to *deb*. 0.3 12 Jun 2005 Limit bug numbers to be below 4e5 to reduce false @@ -13,20 +14,20 @@ Place in your .xchat2 directory and either reload X-Chat or topicdiff.py. """ -__author__ = "Lars Wirzenius <liw@iki.fi>" -__copyright__ = "Copyright 2004 Lars Wirzenius <liw@iki.fi>." +__author__ = "Lars Wirzenius <liw@liw.fi>" +__copyright__ = "Copyright 2010 Lars Wirzenius <liw@liw.fi>." __licence__ = "MIT" __module_name__ = "debianbugs" -__module_version__ = "0.5" +__module_version__ = "0.6" __module_description__ = \ - "Shows links to Debian bugs, when someone says #[number]" + "Shows links to Debian/Ubuntu bugs, when someone says #[number]" import re import xchat BUG_MIN = 10000 -BUG_MAX = 600000 +BUG_MAX = 1000000 patterns = { r"#.*deb.*": "http://bugs.debian.org/%s", |