diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-11-05 23:07:07 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-11-05 23:07:07 +0100 |
commit | aa3c37bebeddfe8f631403a2bc0a238f5a0dfe97 (patch) | |
tree | 2a3f328866ef985d7fc863edc567a268531d7e5d /fuzzycat | |
parent | a7960c19c61a4686d80ff68b653fb0f43007ea85 (diff) | |
download | fuzzycat-aa3c37bebeddfe8f631403a2bc0a238f5a0dfe97.tar.gz fuzzycat-aa3c37bebeddfe8f631403a2bc0a238f5a0dfe97.zip |
apply styles
Diffstat (limited to 'fuzzycat')
-rw-r--r-- | fuzzycat/cluster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py index 150e18e..832a333 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -30,10 +30,10 @@ get_ident_title = operator.itemgetter("ident", "title") ws_replacer = str.maketrans({"\t": " ", "\n": " "}) non_word_re = re.compile(r'[\W_]+', re.UNICODE) - # Notes: untie from release_entity, as we are only using a few fields. Maybe # it's a jsob blob, with a pydantic spec and schema. + def release_key_title(release_entity, get_ident_title=get_ident_title): id, title = get_ident_title(release_entity) if not title: |