10000 Merge pull request #1560 from NelleV/1552_remove2.5 · matplotlib/matplotlib@a85c95b · GitHub
[go: up one dir, main page]

Skip to content

Commit a85c95b

Browse files
committed
Merge pull request #1560 from NelleV/1552_remove2.5
Remove python2.5 support from texmanager.py
2 parents 80689e2 + 7328293 commit a85c95b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/texmanager.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@
4343
import sys
4444
from subprocess import Popen, PIPE, STDOUT
4545

46-
try:
47-
from hashlib import md5
48-
except ImportError:
49-
from md5 import md5 # Deprecated in 2.5
46+
from hashlib import md5
5047

5148
import distutils.version
5249
import numpy as np

0 commit comments

Comments
 (0)
0