Drop python-2.5 and remove 2.4,2.5 support codes

This commit is contained in:
Takayuki Shimizukawa
2013-12-15 14:16:53 +09:00
parent 95a07fe282
commit a8fc938d1b
26 changed files with 54 additions and 376 deletions

View File

@@ -11,12 +11,7 @@
import os
from StringIO import StringIO
try:
from functools import wraps
except ImportError:
# functools is new in 2.5
wraps = lambda f: (lambda w: w)
from functools import wraps
from sphinx.websupport import WebSupport
from sphinx.websupport.errors import DocumentNotFoundError, \