[Python-modules-commits] r26502 - in packages/python-cobe/trunk/debian/patches (1 file)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun Nov 24 03:01:39 UTC 2013


    Date: Sunday, November 24, 2013 @ 03:01:38
  Author: eriol-guest
Revision: 26502

Fixed log.debug

Modified:
  packages/python-cobe/trunk/debian/patches/03_use_python-irc_instead_of_python-irclib.patch

Modified: packages/python-cobe/trunk/debian/patches/03_use_python-irc_instead_of_python-irclib.patch
===================================================================
--- packages/python-cobe/trunk/debian/patches/03_use_python-irc_instead_of_python-irclib.patch	2013-11-23 19:00:15 UTC (rev 26501)
+++ packages/python-cobe/trunk/debian/patches/03_use_python-irc_instead_of_python-irclib.patch	2013-11-24 03:01:38 UTC (rev 26502)
@@ -1,6 +1,7 @@
 Description: Use python-irc instead of python-irclib
  python-irc is not listed in install_requires because right now
- pkg_resources.get_distribution('irc').version will give '0.0.08.3.1'
+ pkg_resources.get_distribution('irc').version will give something
+ like '0.0.08.3.1'
 Author: Daniele Tricoli <eriol at mornie.org>
 Last-Update: 2013-11-23
 
@@ -28,11 +29,15 @@
  
          self.brain = brain
          self.nick = nick
-@@ -29,7 +31,7 @@
+@@ -27,9 +29,9 @@
+             logging.root.addHandler(handler)
+ 
      def _dispatcher(self, c, e):
-         log.debug("on_%s %s", e.eventtype(), (e.source(), e.target(),
-                                               e.arguments()))
+-        log.debug("on_%s %s", e.eventtype(), (e.source(), e.target(),
+-                                              e.arguments()))
 -        irclib.SimpleIRCClient._dispatcher(self, c, e)
++        log.debug("on_%s %s", e.type, (e.source, e.target,
++                                       e.arguments))
 +        irc.client.SimpleIRCClient._dispatcher(self, c, e)
  
      def _delayed_check(self, delay=120):




More information about the Python-modules-commits mailing list