[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568512: python-brlapi: ConnectionError is invalidly specified



Hello,

Thanks for the report.  I'd rather fix it the attached way, what do you
think?

Samuel
Index: Bindings/Python/brlapi.pyx
===================================================================
--- Bindings/Python/brlapi.pyx	(révision 4972)
+++ Bindings/Python/brlapi.pyx	(copie de travail)
@@ -86,6 +86,7 @@
 			self.exception = exception
 			c_brlapi.free(exception)
 		else:
+			self.exception = None
 			self.brlerrno = c_brlapi.brlapi_error.brlerrno
 			self.libcerrno = c_brlapi.brlapi_error.libcerrno
 			self.gaierrno = c_brlapi.brlapi_error.gaierrno

Reply to: