Util: make object_string_formatter more robust
commitf1b4df19a7a6724d58dcbc01ea22b4f47c025c00
authorThomas Perl <m@thp.io>
Mon, 30 Jul 2012 19:58:04 +0000 (30 21:58 +0200)
committerThomas Perl <m@thp.io>
Mon, 30 Jul 2012 19:58:04 +0000 (30 21:58 +0200)
treeaba0b96b842544b3056d3b13a01280f70a6970ab
parent00013538be705f023c90e0b22d912a7c2a64e7a9
Util: make object_string_formatter more robust

Based on an initial patch by Alessandro Guido, but
updated to conform to PEP-8. Also added 2 doctests.
src/gpodder/util.py