MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / mktmp

Method mktmp

suds/cache.py:192–201  ·  view source on GitHub ↗

Make the I{location} directory if it doesn't already exits.

(self)

Source from the content-addressed store, hash-verified

190 self.location = location
191
192 def mktmp(self):
193 """
194 Make the I{location} directory if it doesn't already exits.
195 """
196 try:
197 if not os.path.isdir(self.location):
198 os.makedirs(self.location)
199 except:
200 log.debug(self.location, exc_info=1)
201 return self
202
203 def put(self, id, bfr):
204 try:

Callers 1

openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected