Message155535
In email.utils.localtime, there's a variable 'offset' that will only exist if time.daylight evaluates to True. If time.daylight evaluates to False, you'll get an UnboundLocalError, because 'offset' is being referenced without being assigned.
The attached patch fixes that issue, adds several tests, and also refactors an existing test containing 4-5 assertions into a test for each assertion. |
|
Date |
User |
Action |
Args |
2012-03-13 00:14:01 | Brian.Jones | set | recipients:
+ Brian.Jones |
2012-03-13 00:14:01 | Brian.Jones | set | messageid: <1331597641.5.0.510268852561.issue14278@psf.upfronthosting.co.za> |
2012-03-13 00:14:00 | Brian.Jones | link | issue14278 messages |
2012-03-13 00:14:00 | Brian.Jones | create | |
|