From 4f7aaa67f1943c92a31be633392d362e2823b747 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Tue, 20 Aug 2019 15:57:32 +0200 Subject: [PATCH] Remove deprecated issue_doi_label_from_doi_label helper method --- journals/helpers.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/journals/helpers.py b/journals/helpers.py index 038acd728..2ea2a6155 100644 --- a/journals/helpers.py +++ b/journals/helpers.py @@ -7,16 +7,6 @@ import re from .exceptions import PaperNumberError -def issue_doi_label_from_doi_label(doi_label): - """ - Strip the last digits block from the label. - """ - m = re.match(r'[a-zA-Z]+.[0-9]+.[0-9]+', doi_label) - s = m.start() - e = m.end() - return doi_label[s:e] - - def paper_nr_string(nr): if nr < 10: return '00' + str(nr) -- GitLab