[PATCH] Proper error message when specifying empty commit message
Tristan Seligmann
mithrandi-bazaar-ng at mithrandi.za.net
Wed Sep 7 17:46:52 BST 2005
* Nir Soffer <nirs at actcom.net.il> [2005-09-07 15:42:47 +0300]:
> On 7 Sep, 2005, at 14:55, Robert Collins wrote:
>
> >I agree with Michaels suggestion of len(msg.strip()) == 0 as the test.
>
> A more readable test is msg.isspace()
Not quite; "".isspace() returns False
--
mithrandi, i Ainil en-Balandor, a faer Ambar
More information about the bazaar
mailing list