]> git.cworth.org Git - notmuch/commitdiff
python: Do explicitly check if the next tag exists
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 9 Aug 2011 15:45:44 +0000 (17:45 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 9 Aug 2011 15:45:44 +0000 (17:45 +0200)
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 <Sebastian@SSpaeth.de>

No differences found