2.4 compatibility fix.

This commit is contained in:
Georg Brandl 2008-11-23 19:02:10 +01:00
parent b29b72833f
commit 2bb2e78488

View File

@ -13,7 +13,11 @@ import StringIO
import tempfile
import shutil
from functools import wraps
try:
from functools import wraps
except ImportError:
# functools is new in 2.4
wraps = lambda f: (lambda w: w)
from sphinx import application, builder