Message81385
| Author | pitrou |
|---|---|
| Recipients | ResulCetin, ajaksu2, amaury.forgeotdarc, craigh, dato, jhylton, pitrou, trodgers |
| Date | 2009-02-08.15:58:59 |
| SpamBayes Score | 2.3027724e-05 |
| Marked as misclassified | No |
| Message-id | <1234108741.24.0.997585099817.issue4631@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
On the principle, the test looks good. If you want to avoid the 'if "%" in value' hack, you can use the named-parameter form of string formatting: >>> "localhost:%(port)s" % dict(port=8080) 'localhost:8080' >>> "localhost" % dict(port=8080) 'localhost' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-08 15:59:01 | pitrou | set | recipients: + pitrou, jhylton, amaury.forgeotdarc, ajaksu2, craigh, dato, ResulCetin, trodgers |
| 2009-02-08 15:59:01 | pitrou | set | messageid: <1234108741.24.0.997585099817.issue4631@psf.upfronthosting.co.za> |
| 2009-02-08 15:58:59 | pitrou | link | issue4631 messages |
| 2009-02-08 15:58:59 | pitrou | create | |