diff options
author | jortel <devnull@localhost> | 2010-03-09 00:47:39 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2010-03-09 00:47:39 +0000 |
commit | c51561c339bcf56e2039c51d7db9457e8d76eb7c (patch) | |
tree | 97a19ebaa99dc56805512e1738ef2cd8e30f6c1d | |
parent | 42f2080b8085232c93d7d82a2ea9e7be39a1f1f8 (diff) | |
download | suds-c51561c339bcf56e2039c51d7db9457e8d76eb7c.tar.gz |
Fix cache clear() to ignore suffix.
-rw-r--r-- | suds/cache.py | 2 |
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)) |