[Python-apps-commits] r1944 - in packages/pyaimt/trunk/debian (3 files)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Wed Nov 5 12:38:57 UTC 2008


    Date: Wednesday, November 5, 2008 @ 12:38:56
  Author: nijel
Revision: 1944

Do not crash when connection is lost (Closes: #504393).

Added:
  packages/pyaimt/trunk/debian/patches/crash_on_connection_lost.dpatch
Modified:
  packages/pyaimt/trunk/debian/changelog
  packages/pyaimt/trunk/debian/patches/00list

Modified: packages/pyaimt/trunk/debian/changelog
===================================================================
--- packages/pyaimt/trunk/debian/changelog	2008-11-03 21:54:36 UTC (rev 1943)
+++ packages/pyaimt/trunk/debian/changelog	2008-11-05 12:38:56 UTC (rev 1944)
@@ -1,16 +1,16 @@
-pyaimt (0.8a-8) UNRELEASED; urgency=low
+pyaimt (0.8a-8) unstable; urgency=low
 
   [ Michal ÄŒihaÅ™ ]
-  * NOT RELEASED YET
   * Add missing debian/README.source.
   * Update standards to 3.8.0.
   * Document patches.
+  * Do not crash when connection is lost (Closes: #504393).
 
   [ Sandro Tosi ]
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Fri, 22 Aug 2008 00:07:59 +0200
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Wed, 05 Nov 2008 13:38:40 +0100
 
 pyaimt (0.8a-7) unstable; urgency=low
 

Modified: packages/pyaimt/trunk/debian/patches/00list
===================================================================
--- packages/pyaimt/trunk/debian/patches/00list	2008-11-03 21:54:36 UTC (rev 1943)
+++ packages/pyaimt/trunk/debian/patches/00list	2008-11-05 12:38:56 UTC (rev 1944)
@@ -4,3 +4,4 @@
 04_fixups
 05_failure-report
 06_remove_pid
+crash_on_connection_lost

Added: packages/pyaimt/trunk/debian/patches/crash_on_connection_lost.dpatch
===================================================================
--- packages/pyaimt/trunk/debian/patches/crash_on_connection_lost.dpatch	                        (rev 0)
+++ packages/pyaimt/trunk/debian/patches/crash_on_connection_lost.dpatch	2008-11-05 12:38:56 UTC (rev 1944)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## crash_on_connection_lost.dpatch by Michal ÄŒihaÅ™ <nijel at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad pyaimt-0.8a~/src/legacy/aimt.py pyaimt-0.8a/src/legacy/aimt.py
+--- pyaimt-0.8a~/src/legacy/aimt.py	2008-11-05 13:34:47.000000000 +0100
++++ pyaimt-0.8a/src/legacy/aimt.py	2008-11-05 13:37:13.000000000 +0100
+@@ -52,7 +52,8 @@
+ 
+ 	def connectionLost(self, reason):
+ 		message = "AIM connection lost! Reason: %s" % reason
+-		LogEvent(INFO, self.session.jabberID, message)
++		if self.session:
++			LogEvent(INFO, self.session.jabberID, message)
+ 		try:
+ 			self.oscarcon.alertUser(message)
+ 		except:


Property changes on: packages/pyaimt/trunk/debian/patches/crash_on_connection_lost.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Python-apps-commits mailing list