Message57384
| Author |
gdamjan |
| Recipients |
gdamjan |
| Date |
2007年11月11日.23:16:40 |
| SpamBayes Score |
0.09879317 |
| Marked as misclassified |
No |
| Message-id |
<1194823000.48.0.0016595238228.issue1427@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is LocaleTextCalendar.__init__
def __init__(self, firstweekday=0, locale=None):
TextCalendar.__init__(self, firstweekday)
if locale is None:
locale = locale.getdefaultlocale()
self.locale = locale
Which can not work, obviosly ... let me hilight the important part
if locale is None:
locale = locale.getdefaultlocale()
???
Attached is a patch that corrects this and keeps the signature of the
method with the locale=None keyword. |
| Files |
| File name |
Uploaded |
|
calendar.diff
|
gdamjan,
2007年11月11日.23:16:40
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年11月11日 23:16:40 | gdamjan | set | spambayes_score: 0.0987932 -> 0.09879317 recipients:
+ gdamjan |
| 2007年11月11日 23:16:40 | gdamjan | set | spambayes_score: 0.0987932 -> 0.0987932 messageid: <1194823000.48.0.0016595238228.issue1427@psf.upfronthosting.co.za> |
| 2007年11月11日 23:16:40 | gdamjan | link | issue1427 messages |
| 2007年11月11日 23:16:40 | gdamjan | create |
|