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:
parent
80f4487d17
commit
01399fa0aa
|
@ -4,8 +4,6 @@ import datetime
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from django.utils.lru_cache import lru_cache
|
|
||||||
|
|
||||||
|
|
||||||
def get_version(version=None):
|
def get_version(version=None):
|
||||||
"Returns a PEP 386-compliant version number from VERSION."
|
"Returns a PEP 386-compliant version number from VERSION."
|
||||||
|
@ -52,7 +50,6 @@ def get_complete_version(version=None):
|
||||||
return version
|
return version
|
||||||
|
|
||||||
|
|
||||||
@lru_cache()
|
|
||||||
def get_git_changeset():
|
def get_git_changeset():
|
||||||
"""Returns a numeric identifier of the latest git changeset.
|
"""Returns a numeric identifier of the latest git changeset.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue