On 2008-02-15 22:20:44 +0100, Stelian Pop wrote: > - prnts = os.popen('hg log -r %d --template "{parents}"' % cset).read().split(' ') > + prnts = os.popen('hg log -r %d --template "{parents}"' % cset).read().strip().split(' ') If it's not already too late, you could wrap this line when you're changing it anyway. Something like this maybe: prnts = os.popen('hg log -r %d --template "{parents}"' % cset ).read().strip().split(' ') -- Karl Hasselström, kha@xxxxxxxxxxx www.treskal.com/kalle - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html