Message104568
David: Your example tests specifically for a string, but what about just converting default to a string always if it's not a list? Otherwise the string join is just going to fail anyway (suppose an integer is passed, which is the case with couchdb-python). Wouldn't
if not isinstance(default, list):
default = [str(default)]
Be safer? |
|
Date |
User |
Action |
Args |
2010-04-29 18:57:58 | Walter.Woods | set | recipients:
+ Walter.Woods, orsenthil, r.david.murray |
2010-04-29 18:57:58 | Walter.Woods | set | messageid: <1272567478.73.0.315297756291.issue8572@psf.upfronthosting.co.za> |
2010-04-29 18:57:57 | Walter.Woods | link | issue8572 messages |
2010-04-29 18:57:57 | Walter.Woods | create | |
|