mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
20 lines
569 B
Diff
20 lines
569 B
Diff
--- suds.orig/suds/cache.py 2013-06-29 16:26:16.930326017 +0200
|
|
+++ suds.orig/suds/cache.py 2013-06-29 16:02:15.000000000 +0200
|
|
@@ -19,6 +19,7 @@
|
|
"""
|
|
|
|
import os
|
|
+import tempfile
|
|
import suds
|
|
from tempfile import gettempdir as tmp
|
|
from suds.transport import *
|
|
@@ -138,7 +139,7 @@
|
|
@type duration: {unit:value}
|
|
"""
|
|
if location is None:
|
|
- location = os.path.join(tmp(), 'suds')
|
|
+ location = tempfile.mkdtemp()
|
|
self.location = location
|
|
self.duration = (None, 0)
|
|
self.setduration(**duration)
|