instead of try to catch some attribute error, we could just nicely look if the
attribute will be available. This make the code simpler to follow and less error
prone since we no longer rely on a wider attribute catching.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGf2de8dc9c52f: nodetree: simplify a conditionnal in shortesthexnodeidprefix
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.