Skip to content

Commit 6fe8d9e

Browse files
committed
Fix warning in changelog_links
1 parent 1bb1b3b commit 6fe8d9e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sphinx_astropy/ext/changelog_links.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77
from __future__ import print_function
88

99
import re
10-
from distutils.version import LooseVersion
1110
from docutils.nodes import Text, reference
1211

13-
from sphinx import __version__
14-
15-
BLOCK_PATTERN = re.compile('\[#.+\]', flags=re.DOTALL)
12+
BLOCK_PATTERN = re.compile(r'\[#.+\]', flags=re.DOTALL)
1613
ISSUE_PATTERN = re.compile('#[0-9]+')
1714

1815

0 commit comments

Comments
 (0)