diff options
author | Georg Brandl <georg@python.org> | 2009-02-24 13:34:39 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-02-24 13:34:39 +0100 |
commit | 29247f0896fc66a54d2fe77d05d32b0786c84a18 (patch) | |
tree | c13b5d147c8a6641a8e7cabb09ada80b9dbaa0f5 | |
parent | 965a8c1d20865904c71dfab05443014ac586e816 (diff) | |
download | sphinx-git-29247f0896fc66a54d2fe77d05d32b0786c84a18.tar.gz |
Import style nit.
-rw-r--r-- | sphinx/builders/html.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py index 2b92c2cb6..4a26eed86 100644 --- a/sphinx/builders/html.py +++ b/sphinx/builders/html.py @@ -16,12 +16,10 @@ import posixpath import cPickle as pickle from os import path try: - import hashlib - md5 = hashlib.md5 + from hashlib import md5 except ImportError: # 2.4 compatibility - import md5 - md5 = md5.new + from md5 import md5 from docutils import nodes from docutils.io import DocTreeInput, StringOutput |