Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7328293

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎lib/matplotlib/texmanager.py

Copy file name to clipboardExpand all lines: lib/matplotlib/texmanager.py
+1-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.