[Python-modules-commits] r32514 - in packages/python-cobe/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri May 1 14:46:17 UTC 2015


    Date: Friday, May 1, 2015 @ 14:46:16
  Author: eriol-guest
Revision: 32514

Remove 04_fix-irc-client.patch since fixed upstream

Modified:
  packages/python-cobe/trunk/debian/changelog
  packages/python-cobe/trunk/debian/patches/series
Deleted:
  packages/python-cobe/trunk/debian/patches/04_fix-irc-client.patch

Modified: packages/python-cobe/trunk/debian/changelog
===================================================================
--- packages/python-cobe/trunk/debian/changelog	2015-05-01 14:42:51 UTC (rev 32513)
+++ packages/python-cobe/trunk/debian/changelog	2015-05-01 14:46:16 UTC (rev 32514)
@@ -7,10 +7,12 @@
     - Refresh.
   * debian/patches/03_use_python-irc_instead_of_python-irclib.patch
     - Remove since fixed upstream.
+  * debian/patches/04_fix-irc-client.patch
+    - Remove since fixed upstream.
   * debian/watch
     - Use pypi.debian.net redirector.
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 01 May 2015 16:41:31 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 01 May 2015 16:43:58 +0200
 
 python-cobe (2.1.0-2) unstable; urgency=medium
 

Deleted: packages/python-cobe/trunk/debian/patches/04_fix-irc-client.patch
===================================================================
--- packages/python-cobe/trunk/debian/patches/04_fix-irc-client.patch	2015-05-01 14:42:51 UTC (rev 32513)
+++ packages/python-cobe/trunk/debian/patches/04_fix-irc-client.patch	2015-05-01 14:46:16 UTC (rev 32514)
@@ -1,40 +0,0 @@
-Description: Fix the irc-client function.
-Author: Guus Sliepen <guus at debian.org>
-Last-Update: 2014-06-13
-
---- a/cobe/irc.py
-+++ b/cobe/irc.py
-@@ -63,9 +63,9 @@
-             self.connection.join(self.log_channel)
- 
-     def on_pubmsg(self, conn, event):
--        user = irc.client.NickMask(event.source()).nick
-+        user = irc.client.NickMask(event.source).nick
- 
--        if event.target() == self.log_channel:
-+        if event.target == self.log_channel:
-             # ignore input in the log channel
-             return
- 
-@@ -74,10 +74,10 @@
-             return
- 
-         # only respond on channels
--        if not irc.client.is_channel(event.target()):
-+        if not irc.client.is_channel(event.target):
-             return
- 
--        msg = event.arguments()[0]
-+        msg = event.arguments[0]
- 
-         # strip pasted nicks from messages
-         msg = re.sub("<\S+>\s+", "", msg)
-@@ -105,7 +105,7 @@
- 
-         if to == self.nick:
-             reply = self.brain.reply(text).encode("utf-8")
--            conn.privmsg(event.target(), "%s: %s" % (user, reply))
-+            conn.privmsg(event.target, "%s: %s" % (user, reply))
- 
- 
- class Runner:

Modified: packages/python-cobe/trunk/debian/patches/series
===================================================================
--- packages/python-cobe/trunk/debian/patches/series	2015-05-01 14:42:51 UTC (rev 32513)
+++ packages/python-cobe/trunk/debian/patches/series	2015-05-01 14:46:16 UTC (rev 32514)
@@ -1,3 +1,2 @@
 01_remove-argparse-from-install-requires.patch
 02_relaxed-versioned-dependencies.patch
-04_fix-irc-client.patch




More information about the Python-modules-commits mailing list