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

2010-02-08 Thread Olivier Aubert
Yes, it will work too. You could also initialize self.exception right at the beginning of the __init__ method, so that you are sure that it is defined, even if you introduce other cases later. Olivier --- brlapi.pyx.OLD 2010-02-08 11:53:37.0 +0100 +++ brlapi.pyx 2010-02-08

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

2010-02-06 Thread Samuel Thibault
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) @@

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

2010-02-05 Thread Olivier Aubert
Package: python-brlapi Version: 4.1-4 Severity: important Description of the problem: ipython In [1]:import brlapi In [2]:b=brlapi.Connection() --- ConnectionError Traceback (most recent call