summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--suds/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/suds/cache.py b/suds/cache.py
index a3a53cd..801c23c 100644
--- a/suds/cache.py
+++ b/suds/cache.py
@@ -268,14 +268,14 @@ class FileCache(Cache):
path = os.path.join(self.location, 'version')
try:
- f = open(path)
+ f = self.open(path)
version = f.read()
f.close()
if version != suds.__version__:
raise Exception()
except:
self.clear()
- f = open(path, 'w')
+ f = self.open(path, 'w')
f.write(suds.__version__)
f.close()