]> git.notmuchmail.org Git - notmuch/blobdiff - devel/nmbug/nmbug
nmbug: ignore # comments
[notmuch] / devel / nmbug / nmbug
index 81f582ce88bdea394833b16666c79eb813e184ed..0787b2ba9137f7ef01bfef7f0ac18b7fc46dc54a 100755 (executable)
@@ -608,6 +608,8 @@ def _index_tags():
                 stdin=_subprocess.PIPE,
                 additional_env={'GIT_INDEX_FILE': path}) as git:
             for line in notmuch.stdout:
+                if line.strip().startswith('#'):
+                    continue
                 (tags_string, id) = [_.strip() for _ in line.split(' -- id:')]
                 tags = [
                     _unquote(tag[len(prefix):])