Assorted fixes to work with Python 2.5 and CherryPy 2.3
[cookbook.git] / cookbook / cookbook.py
index a2ba5a524d09432f796fc3d2ffae211f1b5d59ee..07843fb7dd891acfc68e3058372dbb1a6b1340b3 100644 (file)
@@ -21,6 +21,8 @@
 """Represent a cookbook and recipes with Python classes.
 """
 
+from __future__ import with_statement
+
 import os
 import os.path
 import textwrap