Skip to content
Snippets Groups Projects
Commit bbab41fa authored by gabriele-h's avatar gabriele-h
Browse files

onbsru: indicate regex, simplify import

parent c9168f88
Branches
No related tags found
No related merge requests found
......@@ -2,11 +2,11 @@
import re
from catalogue.sru import almasru as almasru
from catalogue.sru import almasru
class OnbRecordRetriever(almasru.RecordRetriever):
pid_re = re.compile('\d{7}')
pid_re = re.compile(r'\d{7}')
def __init__(self,
subdomain: str = 'obv-at-oenb',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment