commit python-suds for openSUSE:Factory

Hello community, here is the log from the commit of package python-suds for openSUSE:Factory checked in at 2013-11-30 14:23:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-suds (Old) and /work/SRC/openSUSE:Factory/.python-suds.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-suds" Changes: -------- --- /work/SRC/openSUSE:Factory/python-suds/python-suds.changes 2013-10-25 11:33:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-suds.new/python-suds.changes 2013-11-30 16:21:42.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 27 13:17:48 UTC 2013 - speilicke@suse.com + +- Enhance suds-insecure-cache-tempdir.patch to cleanup temporary files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suds-insecure-cache-tempdir.patch ++++++ --- /var/tmp/diff_new_pack.dwGOdH/_old 2013-11-30 16:21:42.000000000 +0100 +++ /var/tmp/diff_new_pack.dwGOdH/_new 2013-11-30 16:21:42.000000000 +0100 @@ -1,16 +1,18 @@ diff -ruN a/suds/cache.py b/suds/cache.py --- a/suds/cache.py 2010-04-14 21:04:17.000000000 +0200 -+++ b/suds/cache.py 2013-07-04 16:08:25.879241623 +0200 -@@ -20,7 +20,7 @@ ++++ b/suds/cache.py 2013-11-27 14:16:34.968138726 +0100 +@@ -19,8 +19,9 @@ + """ import os ++import shutil import suds -from tempfile import gettempdir as tmp +import tempfile from suds.transport import * from suds.sax.parser import Parser from suds.sax.element import Element -@@ -138,7 +138,7 @@ +@@ -138,11 +139,15 @@ @type duration: {unit:value} """ if location is None: @@ -19,4 +21,11 @@ self.location = location self.duration = (None, 0) self.setduration(**duration) -Binary files a/suds/.cache.py.swp and b/suds/.cache.py.swp differ + self.checkversion() ++ ++ def __del__(self): ++ if self.location.startswith("/tmp"): ++ shutil.rmtree(self.location) + + def fnsuffix(self): + """ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de