Skip to content

Commit

Permalink
Don't sort, as BSDMD5 needs to come before SFVMD5
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenxxiu committed Jan 4, 2020
1 parent 03a9824 commit 4994290
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/cfv/cftypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ def register_cftype(cftype):
_cf_fn_searches.append((re.compile(cftype.auto_filename_match, re.I).search, cftype))

_cf_matchers.append((getattr(cftype, 'auto_chksumfile_order', 0), cftype.auto_chksumfile_match, cftype))
_cf_matchers.sort(key=lambda m: m[2].__name__)
_cf_matchers.reverse()


def get_handler_names():
Expand Down

0 comments on commit 4994290

Please sign in to comment.