[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] fix typos
From: |
Tomas Cerha |
Subject: |
[PATCH 2/2] fix typos |
Date: |
Sun, 15 Aug 2010 00:36:55 +0200 |
Dne 13.8.2010 05:58, Chris Brannon napsal(a):
> That probably needs to be fixed,
> because UnboundLocalError isn't too helpful. It's a side-effect of the
> way in which the method was written.
> I'd be inclined to remove the assert in set_data_mode, replacing
> the if ... elif tests with if ... elif ... else, where the else branch
> throws ValueError.
Hi Chris,
I see your point and agree with the suggested change.
Thank you and best regards, Tomas
[PATCH 1/2] return status from set_data_mode, Chris Brannon, 2010/08/06
[PATCH 1/2] return status from set_data_mode, Hynek Hanke, 2010/08/07