summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2010-03-09 00:47:39 +0000
committerjortel <devnull@localhost>2010-03-09 00:47:39 +0000
commitc51561c339bcf56e2039c51d7db9457e8d76eb7c (patch)
tree97a19ebaa99dc56805512e1738ef2cd8e30f6c1d
parent42f2080b8085232c93d7d82a2ea9e7be39a1f1f8 (diff)
downloadsuds-c51561c339bcf56e2039c51d7db9457e8d76eb7c.tar.gz
Fix cache clear() to ignore suffix.
-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))