summaryrefslogtreecommitdiff
path: root/suds/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'suds/cache.py')
-rw-r--r--suds/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/suds/cache.py b/suds/cache.py
index d83d049..0e2b314 100644
--- a/suds/cache.py
+++ b/suds/cache.py
@@ -236,7 +236,7 @@ class FileCache(Cache):
for fn in os.listdir(self.location):
if os.path.isdir(fn):
continue
- if fn.startswith(self.fnprefix) and fn.endswith(self.fnsuffix):
+ if fn.startswith(self.fnprefix):
log.debug('deleted: %s', fn)
os.remove(os.path.join(self.location, fn))