summaryrefslogtreecommitdiff
path: root/sphinx/ext/pngmath.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-09-06 17:34:35 +0000
committergeorg.brandl <devnull@localhost>2008-09-06 17:34:35 +0000
commit32a382278abfc15810c8ca103dd75dcf2bf3aebb (patch)
treeed168c48768e6c5897a920f1cd75de2d9723be8a /sphinx/ext/pngmath.py
parentd87c70cabf6594697945500af43859c86944c396 (diff)
downloadsphinx-32a382278abfc15810c8ca103dd75dcf2bf3aebb.tar.gz
Some pylint-found fixes and cleanups.
Diffstat (limited to 'sphinx/ext/pngmath.py')
-rw-r--r--sphinx/ext/pngmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/pngmath.py b/sphinx/ext/pngmath.py
index 4fdcdc4f..9f628e11 100644
--- a/sphinx/ext/pngmath.py
+++ b/sphinx/ext/pngmath.py
@@ -17,7 +17,7 @@ import posixpath
from os import path
from subprocess import Popen, PIPE
try:
- from hashlib import sha
+ from hashlib import sha1 as sha
except ImportError:
from sha import sha