[Python-apps-commits] r794 - in packages/phenny/trunk/debian (2 files)
nslater-guest at users.alioth.debian.org
nslater-guest at users.alioth.debian.org
Sun Mar 9 22:24:09 UTC 2008
Date: Sunday, March 9, 2008 @ 22:24:08
Author: nslater-guest
Revision: 794
Added announce (NOTICE) functionality
Added:
packages/phenny/trunk/debian/patches/bot-announce.patch
Modified:
packages/phenny/trunk/debian/changelog
Modified: packages/phenny/trunk/debian/changelog
===================================================================
--- packages/phenny/trunk/debian/changelog 2008-03-09 22:23:05 UTC (rev 793)
+++ packages/phenny/trunk/debian/changelog 2008-03-09 22:24:08 UTC (rev 794)
@@ -1,3 +1,9 @@
+phenny (2~hg11-2) UNRELEASED; urgency=low
+
+ * Added announce (NOTICE) functionality.
+
+ -- Noah Slater <nslater at bytesexual.org> Sun, 09 Mar 2008 22:23:22 +0000
+
phenny (2~hg11-1) unstable; urgency=low
* Initial release. Closes: #458095
Added: packages/phenny/trunk/debian/patches/bot-announce.patch
===================================================================
--- packages/phenny/trunk/debian/patches/bot-announce.patch (rev 0)
+++ packages/phenny/trunk/debian/patches/bot-announce.patch 2008-03-09 22:24:08 UTC (rev 794)
@@ -0,0 +1,12 @@
+diff -Nur phenny-2~hg11.orig/bot.py phenny-2~hg11.orig.new/bot.py
+--- phenny-2~hg11.orig/bot.py 2008-03-09 21:59:54.000000000 +0000
++++ phenny-2~hg11.orig.new/bot.py 2008-03-09 22:09:45.000000000 +0000
+@@ -157,6 +157,8 @@
+ self.bot.msg(origin.sender, origin.nick + ': ' + msg))
+ elif attr == 'say':
+ return lambda msg: self.bot.msg(origin.sender, msg)
++ elif attr == 'announce':
++ return lambda msg: self.bot.notice(origin.sender, msg)
+ return getattr(self.bot, attr)
+
+ return PhennyWrapper(self)
More information about the Python-apps-commits
mailing list