From: Sebastian Spaeth Date: Tue, 9 Aug 2011 15:45:44 +0000 (+0200) Subject: python: Do explicitly check if the next tag exists X-Git-Tag: 0.8_rc0~13 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=94c5edd064f856a888ce29f7ac1523006b4b8fd6;hp=94c5edd064f856a888ce29f7ac1523006b4b8fd6;p=notmuch python: Do explicitly check if the next tag exists If we try to pull a non-existing tag, Tags._get will return None and the appended .decode() command will fail. So make sure that there is a tag to be fetched before fetching it. Signed-off-by: Sebastian Spaeth ---