Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7328293

Browse files
committed
Remove python2.5 support from texmanager.py
closes #1552
1 parent 80689e2 commit 7328293

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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)