##// END OF EJS Templates
typing: disable an attribute-error warning in the journal extension...
Matt Harbison -
r50755:d5116e4d default
parent child Browse files
Show More
@@ -567,8 +567,12 b' def journal(ui, repo, *args, **opts):'
567 567 )
568 568 fm.write(b'newnodes', b'%s', formatnodes(entry.newhashes))
569 569 fm.condwrite(ui.verbose, b'user', b' %-8s', entry.user)
570
571 # ``name`` is bytes, or None only if 'all' was an option.
570 572 fm.condwrite(
573 # pytype: disable=attribute-error
571 574 opts.get(b'all') or name.startswith(b're:'),
575 # pytype: enable=attribute-error
572 576 b'name',
573 577 b' %-8s',
574 578 entry.name,
General Comments 0
You need to be logged in to leave comments. Login now