code: def mktmp(self):
          
          try:
              if not os.path.isdir(self.location):
                  os.makedirs(self.location)
          except:
              log.debug(self.location, exc_info=1)
          return self
docs: Make the I{location} directory if it doesn't already exits.