Remove annoying warning

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2022-07-30 05:16:36 -05:00
parent 98c1c9263e
commit 122b7f5da2

View File

@@ -720,9 +720,7 @@ def do_list(parser):
print "? refs/heads/branches/%s" % gitref(branch)
for bmark in bmarks:
if bmarks[bmark].hex() == '0' * 40:
warn("Ignoring invalid bookmark '%s'", bmark)
else:
if bmarks[bmark].hex() != '0' * 40:
print "? refs/heads/%s" % gitref(bmark)
for tag, node in repo.tagslist():