From 01399fa0aaa817281c77bbb4b7d82c6c8487c916 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 19 Jun 2014 18:11:25 +0200 Subject: [PATCH] Revert "Fixed #22867 -- Memoized django.utils.version.get_git_changeset()." This reverts commit 80f4487 temporarily, because that commit prevented the djangoproject.com server from building the docs, because it still uses Python 2.6. --- django/utils/version.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django/utils/version.py b/django/utils/version.py index 19486b7c6d..c680dbdc4a 100644 --- a/django/utils/version.py +++ b/django/utils/version.py @@ -4,8 +4,6 @@ import datetime import os import subprocess -from django.utils.lru_cache import lru_cache - def get_version(version=None): "Returns a PEP 386-compliant version number from VERSION." @@ -52,7 +50,6 @@ def get_complete_version(version=None): return version -@lru_cache() def get_git_changeset(): """Returns a numeric identifier of the latest git changeset.