From 5a6b1d38f22cbe80a9a22281d6c4b368553caef8 Mon Sep 17 00:00:00 2001 From: Paulus Date: Tue, 16 Sep 2008 16:37:46 +0000 Subject: [PATCH] git-svn-id: http://www.neo1973-germany.de/svn@156 46df4e5c-bc4e-4628-a0fc-830ba316316d --- PyTracker/trunk/WriteGPX.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyTracker/trunk/WriteGPX.py b/PyTracker/trunk/WriteGPX.py index b461c30..a88db93 100644 --- a/PyTracker/trunk/WriteGPX.py +++ b/PyTracker/trunk/WriteGPX.py @@ -11,6 +11,7 @@ close file: file.close() The file musst be closed, otherwise the file will be incomplete ''' +from __future__ import with_statement class WriteGPX: def __init__(self, filename):