agpl.py: Python 2.5 compatibility.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 7 Apr 2015 18:54:17 +0000 (19:54 +0100)
agpl.py

diff --git a/agpl.py b/agpl.py
index a35ea3f..0929e78 100644 (file)
--- a/agpl.py
+++ b/agpl.py
@@ -23,6 +23,8 @@
 ### License along with Chopwood; if not, see
 ### <http://www.gnu.org/licenses/>.
 
+from __future__ import with_statement
+
 import contextlib as CTX
 import grp as GR
 import os as OS