diff options
| author | DasIch <dasdasich@gmail.com> | 2010-08-21 20:53:05 +0200 |
|---|---|---|
| committer | DasIch <dasdasich@gmail.com> | 2010-08-21 20:53:05 +0200 |
| commit | 9ed870e653971a8176b135e601023e73f56f4d6d (patch) | |
| tree | 751e5d2828d4f867eddd983f83d5e22eec4302da /sphinx/versioning.py | |
| parent | de96a23f1962bdb4a7338882c01a87fc5aa38de9 (diff) | |
| download | sphinx-9ed870e653971a8176b135e601023e73f56f4d6d.tar.gz | |
Added a fallback for itertools product to pycompat for python versions < 2.6
Diffstat (limited to 'sphinx/versioning.py')
| -rw-r--r-- | sphinx/versioning.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py index 430dc142..0ea494f0 100644 --- a/sphinx/versioning.py +++ b/sphinx/versioning.py @@ -12,12 +12,13 @@ from uuid import uuid4 from operator import itemgetter from collections import defaultdict -from itertools import product try: from itertools import izip_longest as zip_longest except ImportError: from itertools import zip_longest +from sphinx.util.pycompat import product + # anything below that ratio is considered equal/changed VERSIONING_RATIO = 65 |
