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.
This commit is contained in:
Aymeric Augustin 2014-06-19 18:11:25 +02:00
parent 80f4487d17
commit 01399fa0aa
1 changed files with 0 additions and 3 deletions

View File

@ -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.